# 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.

Documentation: https://openany.si/market/apis/gitlab/gitlab-project-issues-api/?offering=6e33b76c-a430-4c2d-8339-ca6e1d7c9ea5
API ID: 6e33b76c-a430-4c2d-8339-ca6e1d7c9ea5
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/gitlab/v1/project/issues
Page update time: 2026-12-03T02:38:48.967Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:38:27.245Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GitLab project issues API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "description": "Project path (namespace/project), its gitlab.com link, or the numeric project id."
        },
        "state": {
          "type": "string",
          "description": "`opened` (default), `closed` or `all`.",
          "enum": [
            "opened",
            "closed",
            "all"
          ]
        },
        "q": {
          "type": "string",
          "description": "Search words in title and description."
        },
        "labels": {
          "type": "string",
          "description": "Label names, comma-separated (all must match)."
        },
        "milestone": {
          "type": "string",
          "description": "Milestone title."
        },
        "author": {
          "type": "string",
          "description": "Author's username."
        },
        "assignee": {
          "type": "string",
          "description": "Assignee's username."
        },
        "created_after": {
          "type": "string",
          "description": "ISO 8601 time."
        },
        "created_before": {
          "type": "string",
          "description": "ISO 8601 time."
        },
        "updated_after": {
          "type": "string",
          "description": "ISO 8601 time."
        },
        "updated_before": {
          "type": "string",
          "description": "ISO 8601 time."
        },
        "order_by": {
          "type": "string",
          "description": "Sort field (default `created_at`).",
          "enum": [
            "created_at",
            "updated_at",
            "priority",
            "due_date",
            "relative_position",
            "label_priority",
            "milestone_due",
            "popularity",
            "weight",
            "title"
          ]
        },
        "sort": {
          "type": "string",
          "description": "`desc` (default) or `asc`.",
          "enum": [
            "desc",
            "asc"
          ]
        },
        "type": {
          "type": "string",
          "description": "Work item type.",
          "enum": [
            "issue",
            "incident",
            "test_case",
            "task"
          ]
        },
        "confidential": {
          "type": "string",
          "description": "`true` or `false`.",
          "enum": [
            "true",
            "false"
          ]
        },
        "page": {
          "type": "integer",
          "description": "Page number (default 1)."
        },
        "limit": {
          "type": "integer",
          "description": "Results per page (default 20, max 100)."
        },
        "iid": {
          "type": "integer",
          "description": "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": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      },
      "required": [
        "path"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "items": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "assignees": {
                "type": "array",
                "items": {}
              },
              "author": {
                "type": "object",
                "properties": {
                  "avatar": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  },
                  "username": {
                    "type": "string"
                  }
                }
              },
              "closed_at": {
                "type": "null"
              },
              "confidential": {
                "type": "boolean"
              },
              "created_at": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "downvotes": {
                "type": "integer"
              },
              "draft": {
                "type": "null"
              },
              "due_date": {
                "type": "null"
              },
              "id": {
                "type": "integer"
              },
              "iid": {
                "type": "integer"
              },
              "labels": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "merge_requests_count": {
                "type": "integer"
              },
              "milestone": {
                "type": "null"
              },
              "severity": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "task_completion": {
                "type": "object",
                "properties": {
                  "completed_count": {
                    "type": "integer"
                  },
                  "count": {
                    "type": "integer"
                  }
                }
              },
              "title": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "updated_at": {
                "type": "string"
              },
              "upvotes": {
                "type": "integer"
              },
              "url": {
                "type": "string"
              },
              "user_notes_count": {
                "type": "integer"
              },
              "weight": {
                "type": "null"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "project": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "total": {
      "type": "integer"
    },
    "total_pages": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
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'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "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
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- apish: https://openany.si/market/apis/gitlab/gitlab-project-issues-api/?offering=6e33b76c-a430-4c2d-8339-ca6e1d7c9ea5

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
