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
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
On this page
Overview
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
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
apishCurrent GitLab project issues API · GET · View API reference | $0.002 / billing credit | 1 | 100.00%successP504.17s |
- 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
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
path | URL query parametersquery | string | Yes | Project path (namespace/project), its gitlab.com link, or the numeric project id. |
state | URL query parametersquery | string | No | `opened` (default), `closed` or `all`. enum: "opened", "closed", "all" |
q | URL query parametersquery | string | No | Search words in title and description. |
labels | URL query parametersquery | string | No | Label names, comma-separated (all must match). |
milestone | URL query parametersquery | string | No | Milestone title. |
author | URL query parametersquery | string | No | Author's username. |
assignee | URL query parametersquery | string | No | Assignee's username. |
created_after | URL query parametersquery | string | No | ISO 8601 time. |
created_before | URL query parametersquery | string | No | ISO 8601 time. |
updated_after | URL query parametersquery | string | No | ISO 8601 time. |
updated_before | URL query parametersquery | string | No | ISO 8601 time. |
order_by | URL query parametersquery | string | No | Sort field (default `created_at`). enum: "created_at", "updated_at", "priority", "due_date", "relative_position", "label_priority", "milestone_due", "popularity", "weight", "title" |
sort | URL query parametersquery | string | No | `desc` (default) or `asc`. enum: "desc", "asc" |
type | URL query parametersquery | string | No | Work item type. enum: "issue", "incident", "test_case", "task" |
confidential | URL query parametersquery | string | No | `true` or `false`. enum: "true", "false" |
page | URL query parametersquery | integer | No | Page number (default 1). |
limit | URL query parametersquery | integer | No | Results per page (default 20, max 100). |
iid | URL query parametersquery | integer | No | 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 | URL query parametersquery | string | No | 0 leaves out the bulky `raw` source blocks (often 10-30x smaller). enum: "0", "1" |
fields | URL query parametersquery | string | No | Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included. |
fresh | URL query parametersquery | string | No | 1 skips the 24-hour cache and fetches live. enum: "1" |
output | URL query parametersquery | string | No | JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed. enum: "json" |
records | URL query parametersquery | string | No | 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
cachedbooleancountintegercredits_usedintegeritems(object | string)[]assigneesunknown[]authorobjectavatarstringnamestringurlstringusernamestring
closed_atnullconfidentialbooleancreated_atstringdescriptionstringdownvotesintegerdraftnulldue_datenullidintegeriidintegerlabelsstring[]merge_requests_countintegermilestonenullseveritystringstatestringtask_completionobjectcompleted_countintegercountinteger
titlestringtypestringupdated_atstringupvotesintegerurlstringuser_notes_countintegerweightnull
next_pageintegerpageintegerprojectstringstatestringtotalintegertotal_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 item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Actual API.SH credits consumed | $0.002000 / billing credit | Response · /credits_used · Numeric value | Always | 1 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.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect 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.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ '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'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 }