# GitLab project pipelines API

Get GitLab Project Pipelines 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 global pipeline identifier, project-local pipeline number, pipeline execution status, pipeline trigger source, and pipeline creation timestamp to track release-branch builds, match commits to ci outcomes, and audit scheduled or merge-request runs.

Documentation: https://openany.si/market/apis/gitlab/gitlab-project-pipelines-api/?offering=7fbf44c1-27e3-4c93-b70c-c1d979175909
API ID: 7fbf44c1-27e3-4c93-b70c-c1d979175909
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/gitlab/v1/project/pipelines
Page update time: 2026-12-03T02:38:48.999Z
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:35.976Z. 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 pipelines 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), link or numeric id."
        },
        "status": {
          "type": "string",
          "description": "created, waiting_for_resource, preparing, pending, running, success, failed, canceled, skipped, manual, scheduled."
        },
        "source": {
          "type": "string",
          "description": "push, web, trigger, schedule, api, external, pipeline, chat, merge_request_event, parent_pipeline, ..."
        },
        "ref": {
          "type": "string",
          "description": "Branch or tag."
        },
        "sha": {
          "type": "string",
          "description": "Commit SHA."
        },
        "username": {
          "type": "string",
          "description": "Who triggered it."
        },
        "updated_after": {
          "type": "string",
          "description": "ISO time."
        },
        "updated_before": {
          "type": "string",
          "description": "ISO time."
        },
        "order_by": {
          "type": "string",
          "description": "Order (default id).",
          "enum": [
            "id",
            "status",
            "ref",
            "updated_at",
            "user_id"
          ]
        },
        "sort": {
          "type": "string",
          "description": "desc (default) or asc.",
          "enum": [
            "desc",
            "asc"
          ]
        },
        "limit": {
          "type": "integer",
          "description": "Items per page (default 20, max 100)."
        },
        "page": {
          "type": "integer",
          "description": "Page number (default 1). Pass `next_page` back; null on the last page."
        },
        "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"
    },
    "filters": {
      "type": "object",
      "properties": {
        "order_by": {
          "type": "string"
        },
        "sort": {
          "type": "string"
        }
      }
    },
    "items": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "created_at": {
                "type": "string"
              },
              "id": {
                "type": "integer"
              },
              "iid": {
                "type": "integer"
              },
              "name": {
                "type": "null"
              },
              "ref": {
                "type": "string"
              },
              "sha": {
                "type": "string"
              },
              "source": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "updated_at": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "project": {
      "type": "string"
    },
    "total": {
      "type": "null"
    },
    "total_pages": {
      "type": "null"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/gitlab/v1/project/pipelines?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,
  "filters": {
    "order_by": "id",
    "sort": "desc"
  },
  "items": [
    {
      "created_at": "2026-11-04T06:01:43.233Z",
      "id": 3025667611,
      "iid": 54643,
      "name": null,
      "ref": "dependency-management/github-com-klauspost-compress-1.x",
      "sha": "92d9a4719c79bb307077d056be8bc80e4f28c146",
      "source": "dependency_management_security_update",
      "status": "failed",
      "updated_at": "2026-11-04T06:03:16.893Z",
      "url": "https://gitlab.com/gitlab-org/gitlab-runner/-/pipelines/3025667611"
    },
    {
      "created_at": "2026-11-04T06:01:41.993Z",
      "id": 3025667582,
      "iid": 54642,
      "name": null,
      "ref": "dependency-management/github-com-docker-cli-27.x",
      "sha": "92d9a4719c79bb307077d056be8bc80e4f28c146",
      "source": "dependency_management_security_update",
      "status": "failed",
      "updated_at": "2026-11-04T06:03:17.183Z",
      "url": "https://gitlab.com/gitlab-org/gitlab-runner/-/pipelines/3025667582"
    },
    "… 18 more"
  ],
  "next_page": 2,
  "page": 1,
  "project": "gitlab-org/gitlab-runner",
  "total": null,
  "total_pages": null
}
```

## 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-pipelines-api/?offering=7fbf44c1-27e3-4c93-b70c-c1d979175909

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