Skip to content

API overview

The API is JSON over HTTP. The full description is openapi.json; the reference lists every route.

GET /health (liveness) and GET /ready (readiness). GET /metrics serves Prometheus metrics. See Observability.

Send a bearer token: Authorization: Bearer <token>. Tokens are OIDC access tokens. See Authentication.

Send the workspace slug in the x-graphowl-workspace header to scope a request to one workspace. Without it, a request reads across what the caller may see.

Errors are RFC 9457 problem documents. See the error guide.

Lists are keyset-paginated. Pass limit and, from the previous response’s paging.after, after for the next page:

Terminal window
curl "$URL/assets?limit=2" -H "Authorization: Bearer $TOKEN"
# {"data": [ ... 2 assets ... ], "paging": {"after": "ZGFpcnktY29vcC1kYi5k..."}}
curl "$URL/assets?limit=2&after=ZGFpcnktY29vcC1kYi5k..." -H "Authorization: Bearer $TOKEN"

Do not compute offsets or decode the cursor: it is opaque. A few reports (such as /validation/report) page with limit and offset and return total.

List routes take filters as query parameters: GET /assets accepts kind, owner, unowned, domain, dataProduct, lifecycle, tags and certification, among others. The reference and the OpenAPI file list each route’s parameters.

Writes that can be retried take an Idempotency-Key header: the ingestion routes require one. A retry reuses the key; reusing a key for different content is a 409; keys expire after 24 hours. See Load data.

An operator can limit concurrent queries and ingestion (see Configuration). A request refused for load answers 503 (overloaded) with a Retry-After hint: wait and resend. Individual senders and agents that exceed their own rate get 429. A query that runs past its time budget (20 seconds by default) is stopped with a 400.

Request and response bodies are application/json, except ingestion files (application/x-ndjson, text/csv) and RDF import and export (Turtle, N-Triples, JSON-LD and so on).

Early access: the surface may change before 1.0. Changes are listed in the changelog.