# GitLab project releases API

Get GitLab Project Releases 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 release display title, release notes text, published release timestamp, release author GitLab username, and next page to track upstream releases, summarize release notes, and locate distribution archives.

Documentation: https://openany.si/gitlab/gitlab-project-releases-api/003414cd-3b5e-4749-83f3-f535ca38e299/
API ID: 003414cd-3b5e-4749-83f3-f535ca38e299
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/gitlab/v1/project/releases
Page update time: 2026-12-03T02:38:49.014Z
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.
Contract update time: 2026-12-03T02:38:39.964Z. 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": []
  }
}
```

## Usage and limits
## GitLab Project Releases API

Pass the GitLab project path and optionally sort by released\_at or created\_at with desc or asc ordering and page/limit pagination. Each release item includes tag, name, description, commit, author metadata and an assets array with direct URLs.

## What You Can Build

- **Track upstream releases**: Poll recent tags and released\_at timestamps to spot new versions of open-source dependencies.
- **Summarize release notes**: Collect structured release descriptions and commit references for changelog digests.
- **Locate distribution archives**: Read items\[\].assets\[\] URLs to identify published packages or source archives for separate download.

## Returned Data

| Field | Meaning |
| --- | --- |
| `items[].tag` | Git tag name for the release |
| `items[].name` | Release display title |
| `items[].description` | Release notes text (up to 8,000 characters) |
| `items[].released_at` | Published release timestamp |
| `items[].commit` | Commit hash associated with the release |
| `items[].author.username` | Release author GitLab username |
| `items[].assets[].url` | Downloadable asset or archive URL |
| `next_page` | Next page number, or null on the final page |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GitLab project releases 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."
        },
        "order_by": {
          "type": "string",
          "description": "`released_at` (default) or `created_at`.",
          "enum": [
            "released_at",
            "created_at"
          ]
        },
        "sort": {
          "type": "string",
          "description": "`desc` (default) or `asc`.",
          "enum": [
            "desc",
            "asc"
          ]
        },
        "page": {
          "type": "integer",
          "description": "Page number (default 1)."
        },
        "limit": {
          "type": "integer",
          "description": "Results per page (default 20, max 100)."
        },
        "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": {
              "assets": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        },
                        "url": {
                          "type": "string"
                        }
                      }
                    },
                    {
                      "type": "string"
                    }
                  ]
                }
              },
              "author": {
                "type": "object",
                "properties": {
                  "avatar": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  },
                  "username": {
                    "type": "string"
                  }
                }
              },
              "commit": {
                "type": "string"
              },
              "commit_title": {
                "type": "string"
              },
              "created_at": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "milestones": {
                "type": "array",
                "items": {}
              },
              "name": {
                "type": "string"
              },
              "released_at": {
                "type": "string"
              },
              "tag": {
                "type": "string"
              },
              "upcoming": {
                "type": "boolean"
              },
              "url": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "project": {
      "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/releases?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": [
    {
      "assets": [
        {
          "name": "other release artifacts",
          "type": "other",
          "url": "https://gitlab.com/gitlab-org/gitlab-runner/-/releases/v19.3.5/downloads/index.html"
        },
        {
          "name": "checksums GPG signature",
          "type": "other",
          "url": "https://gitlab.com/gitlab-org/gitlab-runner/-/releases/v19.3.5/downloads/release.sha256.asc"
        },
        "… 40 more"
      ],
      "author": {
        "avatar": "https://gitlab.com/uploads/-/system/user/avatar/35011548/avatar.png?v=1793750877",
        "name": "Daniel Keenan",
        "url": "https://gitlab.com/daniel-keenan",
        "username": "daniel-keenan"
      },
      "commit": "4aa0168122725efbd262957d8637bf207aedb611",
      "commit_title": "Update CHANGELOG for v19.3.5",
      "created_at": "2026-10-29T12:11:02.832Z",
      "description": "See [the changelog](https://gitlab.com/gitlab-org/gitlab-runner/blob/v19.3.5/CHANGELOG.md) :rocket:\n\nGitLab Runner documentation can be foun…",
      "milestones": [],
      "name": "v19.3.5",
      "released_at": "2026-10-29T12:11:02.832Z",
      "tag": "v19.3.5",
      "upcoming": false,
      "url": "https://gitlab.com/gitlab-org/gitlab-runner/-/releases/v19.3.5"
    },
    {
      "assets": [
        {
          "name": "other release artifacts",
          "type": "other",
          "url": "https://gitlab.com/gitlab-org/gitlab-runner/-/releases/v19.4.3/downloads/index.html"
        },
        {
          "name": "checksums GPG signature",
          "type": "other",
          "url": "https://gitlab.com/gitlab-org/gitlab-runner/-/releases/v19.4.3/downloads/release.sha256.asc"
        },
        "… 40 more"
      ],
      "author": {
        "avatar": "https://gitlab.com/uploads/-/system/user/avatar/37702883/avatar.png?v=1793736207",
        "name": "Lachlan Grant",
        "url": "https://gitlab.com/lachie-gitlab",
        "username": "lachie-gitlab"
      },
      "commit": "10d466d5e7314efa2bb0f8e3fa7584c7568deff5",
      "commit_title": "Update CHANGELOG for v19.4.3",
      "created_at": "2026-10-29T08:43:34.179Z",
      "description": "See [the changelog](https://gitlab.com/gitlab-org/gitlab-runner/blob/v19.4.3/CHANGELOG.md) :rocket:\n\nGitLab Runner documentation can be foun…",
      "milestones": [],
      "name": "v19.4.3",
      "released_at": "2026-10-29T08:43:34.179Z",
      "tag": "v19.4.3",
      "upcoming": false,
      "url": "https://gitlab.com/gitlab-org/gitlab-runner/-/releases/v19.4.3"
    },
    "… 18 more"
  ],
  "next_page": 2,
  "page": 1,
  "project": "gitlab-org/gitlab-runner",
  "total": 292,
  "total_pages": 15
}
```

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

## Common questions
### Are release notes truncated?
Yes. Each release description is limited to its first 8,000 characters in the returned JSON.

### Does this API download release binaries directly?
No. It returns metadata and asset URLs inside items[].assets[] so you can inspect or fetch packages separately.

### How can I sort releases by creation date instead of release date?
Set order_by=created_at instead of the default released_at, and choose sort=desc or sort=asc.

### How do I paginate through older releases?
Pass page (default 1) and limit (default 20, max 100), then continue with next_page until null.

### Can I tell whether a release is marked as upcoming?
Yes. Returned release objects include the upcoming boolean field alongside released_at.

### How do I check for newly published releases without cache delay?
Pass fresh=1 to bypass the 24-hour cache and query live release data.

## Available implementations
- apish: https://openany.si/gitlab/gitlab-project-releases-api/003414cd-3b5e-4749-83f3-f535ca38e299/

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