Skip to main content
The Acrity public API lets you query workspace context, repositories, pull requests, reviews, webhooks, credentials, bootstrap, and security scans according to the API key scopes.

Base

Public routes use the /api/v1 prefix. OpenAPI documentation is available in the Acrity environment at:
  • /docs, for interactive viewing;
  • /openapi/v1-public.json, for tool consumption;
  • localized variants when enabled, such as /openapi/v1-public.pt-BR.json.

Authentication

Use the X-Acrity-Key header:
API keys are created under API Keys. Creating an API key requires a Workspace admin (platform admins also have access).

Scopes

Prefer one API key per consuming system. This makes rotation, audit, and scope limitation easier.

Main resources

Pagination and filters

Listings can use pagination and filters. See your environment’s OpenAPI specification for exact parameters for each resource. The default page size is 20 and the maximum is 50. A request with a page size above 50 returns 400. Best practices:
  • use small pages in recurring integrations;
  • keep the cursor or processed page in the automation;
  • treat empty responses as a valid state;
  • apply backoff on 429.

Errors

Rate limits

Each API key is limited to about 300 requests per minute by default. When you exceed the limit, the API returns 429 along with these response headers: Honor Retry-After and apply backoff before retrying.

Example call

Start with /api/v1/context when diagnosing an integration. This call confirms whether the key is active and which scopes are available.