OpenAny
Get API keyAPI Key
APIDataDeveloper

gitlab logo
GitLab Project Issues API

Get GitLab Project Issues data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, path, and retrieve structured data including project-local issue number, issue title, assigned issue label names, author GitLab username, and issue creation timestamp to monitor open defects, track milestone progress, and look up a specific issue.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
1Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

GitLab Project Issues API

Prepare your request, then continue with your agent.

Pricing

$0.002 / billing credit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
GitLab Project Issues API

GitLab Project Issues API

Pass path as the required GitLab project selector, then combine optional filters including state, q, labels, milestone, author, assignee, created/updated bounds, order_by, sort, page and limit. Setting iid fetches a single issue by its project-local number.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Required query: path. Optional state (opened/closed/all), q, labels, milestone, author, assignee, created/updated ISO 8601 filters, order_by, sort, page, limit (max 100) and iid.
Selected implementation apish · GitLab project issues API
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Monitor open defects: Filter opened issues by labels and updated_after to track active bugs in an upstream dependency.
  • Track milestone progress: List issues assigned to a milestone with state=all to compare open versus closed work items.
  • Look up a specific issue: Pass iid alongside path to inspect one issue record directly without scanning full lists.

Returned Data

Field Meaning
items[].iid Project-local issue number
items[].title Issue title
items[].state Issue state such as opened or closed
items[].labels Assigned issue label names
items[].author.username Author GitLab username
items[].created_at Issue creation timestamp
items[].url Direct issue URL on GitLab
next_page Next page number, or null on the final page
total Total matching issue count

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/apish/gitlab/v1/project/issues \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode output=json \
  --data-urlencode path=gitlab-org/gitlab-runner

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published GitLab Project Issues API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Project path (namespace/project), its gitlab.com link, or the numeric project id.
Optional parameters (22)
`opened` (default), `closed` or `all`.
Search words in title and description.
Label names, comma-separated (all must match).
Milestone title.
Author's username.
Assignee's username.
ISO 8601 time.
ISO 8601 time.
ISO 8601 time.
ISO 8601 time.
Sort field (default `created_at`).
`desc` (default) or `asc`.
Work item type.
`true` or `false`.
Page number (default 1).
Results per page (default 20, max 100).
One issue by its number (the number in its URL). The answer then holds that issue in `items` and `item`, with its full reference, closed by, time tracking, blocking issues count, epic and iteration.
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
Native CSV/NDJSON record selector; it has no effect on this JSON-only product.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
apishCurrent
GitLab project issues API · GET · View API reference
$0.002 / billing credit1
100.00%successP504.17s
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · apishUSD / billing credit
Pricing
$0.002

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/apish/gitlab/v1/project/issues
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
pathURL query parametersquerystringYes

Project path (namespace/project), its gitlab.com link, or the numeric project id.

stateURL query parametersquerystringNo

`opened` (default), `closed` or `all`.

enum: "opened", "closed", "all"

qURL query parametersquerystringNo

Search words in title and description.

labelsURL query parametersquerystringNo

Label names, comma-separated (all must match).

milestoneURL query parametersquerystringNo

Milestone title.

authorURL query parametersquerystringNo

Author's username.

assigneeURL query parametersquerystringNo

Assignee's username.

created_afterURL query parametersquerystringNo

ISO 8601 time.

created_beforeURL query parametersquerystringNo

ISO 8601 time.

updated_afterURL query parametersquerystringNo

ISO 8601 time.

updated_beforeURL query parametersquerystringNo

ISO 8601 time.

order_byURL query parametersquerystringNo

Sort field (default `created_at`).

enum: "created_at", "updated_at", "priority", "due_date", "relative_position", "label_priority", "milestone_due", "popularity", "weight", "title"

sortURL query parametersquerystringNo

`desc` (default) or `asc`.

enum: "desc", "asc"

typeURL query parametersquerystringNo

Work item type.

enum: "issue", "incident", "test_case", "task"

confidentialURL query parametersquerystringNo

`true` or `false`.

enum: "true", "false"

pageURL query parametersqueryintegerNo

Page number (default 1).

limitURL query parametersqueryintegerNo

Results per page (default 20, max 100).

iidURL query parametersqueryintegerNo

One issue by its number (the number in its URL). The answer then holds that issue in `items` and `item`, with its full reference, closed by, time tracking, blocking issues count, epic and iteration.

rawURL query parametersquerystringNo

0 leaves out the bulky `raw` source blocks (often 10-30x smaller).

enum: "0", "1"

fieldsURL query parametersquerystringNo

Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.

freshURL query parametersquerystringNo

1 skips the 24-hour cache and fetches live.

enum: "1"

outputURL query parametersquerystringNo

JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.

enum: "json"

recordsURL query parametersquerystringNo

Native CSV/NDJSON record selector; it has no effect on this JSON-only product.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • items(object | string)[]
    • assigneesunknown[]
    • authorobject
      • avatarstring
      • namestring
      • urlstring
      • usernamestring
    • closed_atnull
    • confidentialboolean
    • created_atstring
    • descriptionstring
    • downvotesinteger
    • draftnull
    • due_datenull
    • idinteger
    • iidinteger
    • labelsstring[]
    • merge_requests_countinteger
    • milestonenull
    • severitystring
    • statestring
    • task_completionobject
      • completed_countinteger
      • countinteger
    • titlestring
    • typestring
    • updated_atstring
    • upvotesinteger
    • urlstring
    • user_notes_countinteger
    • weightnull
  • next_pageinteger
  • pageinteger
  • projectstring
  • statestring
  • totalinteger
  • total_pagesinteger

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
Actual API.SH credits consumed$0.002000 / billing creditResponse · /credits_used · Numeric valueAlways1 billing credit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Official documentation response · Supplier-tr

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 23

    Review these request fields before running. Keep the published provider and request method unchanged.

    path
    Project path (namespace/project), its gitlab.com link, or the numeric project id.
    state
    `opened` (default), `closed` or `all`.
    q
    Search words in title and description.
    labels
    Label names, comma-separated (all must match).
    milestone
    Milestone title.
    author
    Author's username.
    assignee
    Assignee's username.
    created_after
    ISO 8601 time.
    created_before
    ISO 8601 time.
    updated_after
    ISO 8601 time.
    updated_before
    ISO 8601 time.
    order_by
    Sort field (default `created_at`).
    sort
    `desc` (default) or `asc`.
    type
    Work item type.
    confidential
    `true` or `false`.
    page
    Page number (default 1).
    limit
    Results per page (default 20, max 100).
    iid
    One issue by its number (the number in its URL). The answer then holds that issue in `items` and `item`, with its full reference, closed by, time tracking, blocking issues count, epic and iteration.
    raw
    0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
    fields
    Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
    fresh
    1 skips the 24-hour cache and fetches live.
    output
    JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.
    records
    Native CSV/NDJSON record selector; it has no effect on this JSON-only product.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/apish/gitlab/v1/project/issues?output=json&path=gitlab-org%2Fgitlab-runner' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "cached": false,
      "count": 20,
      "credits_used": 1,
      "items": [
        {
          "assignees": [],
          "author": {
            "avatar": "https://gitlab.com/uploads/-/system/user/avatar/1388762/avatar.png?v=1793772205",
            "name": "Pedro Pombeiro",
            "url": "https://gitlab.com/pedropombeiro",
            "username": "pedropombeiro"
          },
          "closed_at": null,
          "confidential": false,
          "created_at": "2026-11-03T16:13:38.680Z",
          "description": "## Summary\n\nAfter #39573, #39574, and #39535, most configuration-caused failures on GitLab.com hosted runners report an accurate failure rea…",
          "downvotes": 0,
          "draft": null,
          "due_date": null,
          "id": 208998292,
          "iid": 40235,
          "labels": [
            "Category:Runner Core",
            "automation:quick-win-judged",
            "… 7 more"
          ],
          "merge_requests_count": 0,
          "milestone": null,
          "severity": "UNKNOWN",
          "state": "opened",
          "task_completion": {
            "completed_count": 0,
            "count": 0
          },
          "title": "Container-start and pre-request secrets configuration errors are still reported as `runner_system_failure`",
          "type": "issue",
          "updated_at": "2026-11-04T00:09:19.404Z",
          "upvotes": 0,
          "url": "https://gitlab.com/gitlab-org/gitlab-runner/-/work_items/40235",
          "user_notes_count": 1,
          "weight": null
        },
        {
          "assignees": [],
          "author": {
            "avatar": "https://secure.gravatar.com/avatar/afa743e48382b2e91a7668a4847acd0df4cae8bad2709b42e1075722f5e885d2?s=80&d=identicon",
            "name": "stampaaaron",
            "url": "https://gitlab.com/stampaaaron",
            "username": "stampaaaron"
          },
          "closed_at": null,
          "confidential": false,
          "created_at": "2026-11-02T16:12:09.341Z",
          "description": "\n## Summary\n\nOn a Windows shell-executor runner, `step_script` hangs indefinitely after the job's script has visibly finished all its work (…",
          "downvotes": 0,
          "draft": null,
          "due_date": null,
          "id": 208860627,
          "iid": 40234,
          "labels": [
            "Category:Runner Core",
            "automation:ml",
            "… 8 more"
          ],
          "merge_requests_count": 0,
          "milestone": null,
          "severity": "UNKNOWN",
          "state": "opened",
          "task_completion": {
            "completed_count": 0,
            "count": 0
          },
          "title": "Windows shell executor: step_script hangs forever - gitlab-runner.exe itself holds orphaned pipe handles after every child process is confir…",
          "type": "issue",
          "updated_at": "2026-11-03T09:09:05.108Z",
          "upvotes": 0,
          "url": "https://gitlab.com/gitlab-org/gitlab-runner/-/work_items/40234",
          "user_notes_count": 2,
          "weight": null
        },
        "… 18 more"
      ],
      "next_page": 2,
      "page": 1,
      "project": "gitlab-org/gitlab-runner",
      "state": "opened",
      "total": 2583,
      "total_pages": 130
    }

Common questions

How does multi-label filtering work?

Pass comma-separated label names in labels; all listed labels must match the returned issues.

How do I fetch one specific issue instead of a list?

Provide the project-local issue number in the iid query parameter alongside path.

What date format do created_after and updated_before expect?

Supply ISO 8601 timestamps for created_after, created_before, updated_after and updated_before.

How do I paginate through large issue lists?

Use page (default 1) and limit (default 20, max 100), and pass the returned next_page value for subsequent pages.

Does confidential=true expose private project issues?

No. This public REST operation does not accept buyer GitLab credentials for private repository access.

Can I sort issues in ascending order?

Yes. Combine order_by (default created_at) with sort=asc or sort=desc.

How can I bypass cached results or trim payload size?

Pass fresh=1 to skip the 24-hour cache, raw=0 to omit raw source blocks, or fields to select specific response paths.

Use GitLab Project Issues API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.