Skip to main content
The REST API gives programs the same tools, jobs and account operations the Pomerado MCP gives agents. The operation pages that follow are generated from the definitions that serve the API.

Base URL

The OpenAPI 3.1 document is public at GET /v1/openapi.json, and on this site at /api-reference/openapi.json.

Authentication

Send an API key or the Pomerado MCP’s OAuth access token as a bearer token:
Each operation page names the callers it accepts and the permission it needs. A missing, expired or rejected credential answers 401 unauthorized. See authentication.

Errors

Every error uses the same envelope:
Branch on code. When retryable is true, sending the request again can succeed. The code’s Retry line says whether to keep its idempotency key. A write sent without an Idempotency-Key that may already have been accepted also carries "write_possibly_accepted": true beside error: check the outcome before repeating it. Errors lists every code.

Pagination

Lists take cursor and limit (1 to 100, default 20) and answer {"data": [...], "next_cursor": "..."}. Pass next_cursor back as cursor until it is null. GET /v1/jobs takes a limit of 1 to 50. GET /v1/runs pages by number instead: it takes page, from 1, and answers page, limit and total in place of next_cursor.

Idempotency

Runs, builds, requested tool changes and team invitations take an Idempotency-Key header; other operations ignore it. A key is 1 to 200 letters, digits, _ or -, such as a UUID. The same key with the same body answers the first request’s result with Idempotent-Replayed: true, without acting again. The same key with a different body answers 409 idempotency_conflict. Send a key with every write you might retry. See retries and idempotency.

Conventions

  • IDs are prefixed by type, such as job_ for jobs and int_ for integrations.
  • Timestamps are ISO 8601 in UTC.
  • A run, build or requested tool change answers 202 with its job, or 200 with the job an Idempotency-Key already started. Other creates answer 201, and a delete 204 with no body.
  • An operation that would reveal a secret to a program can answer a dashboard_url instead, where a signed-in person finishes it.

Changes

  • October 15, 2026: a saved login’s needs_attention (GET /v1/logins and the logins a save answers) may now be {"reason": "account_locked"}, with no field, when the website said the login’s account is locked. Read field only when it is present. See check a login’s status.