Skip to main content
PARIXDocs

OpenAPI Reference

Browse the Parix HTTP API—authenticate, call endpoints, and open the live OpenAPI document.

The Parix customer API is versioned under /api/v1. Use it to check credentials, discover create options, manage databases, and run supported TigerBeetle operations through the Parix gateway.

This section is an interactive reference generated from the OpenAPI schema. For step-by-step integration guidance, see API and OpenAPI.

Base URL

Production:

https://parix.io

Example request path:

https://parix.io/api/v1/session

Use the same origin that issued the credential and owns the databases you call. Credentials and database IDs are not interchangeable across environments.

Authenticate

Send exactly one of these headers:

x-api-key: px_...
Authorization: Bearer <access-token-or-api-key>

Create or rotate keys in the dashboard under Settings → API keys. Organization owners and administrators can manage keys. A new or rotated secret is shown once—store it in a secret manager.

CredentialBoundary
All-databases API keyOrganization-wide lifecycle and database access in that organization
Specific-database API keyOne database UUID only
OAuth / CLI access tokenMembership and granted scopes (db:read, db:write)

Start every new integration by confirming the credential:

curl "https://parix.io/api/v1/session" \
  -H "x-api-key: $PARIX_API_KEY"

A successful response returns authentication type, organization, scopes, and—when applicable—the key’s database boundary.

Authoritative schema

SourceUse it for
Live OpenAPI 3.1 document: /api/v1/openapi.jsonClient generation, request validation, and the current contract
This interactive referenceBrowsing operations and schemas in the docs UI

The interactive pages render a bundled schema snapshot and can lag the live route until the bundle is regenerated. Prefer /api/v1/openapi.json from production when schemas must match runtime.

Resource map

Browse the sidebar, or jump to a group:

GroupWhat it covers
SessionConfirm credential, organization, and scopes
CatalogCreate options currently available to the organization
DatabasesList, create, inspect, and delete databases
TigerBeetleGateway operations: create/lookup/query accounts and transfers

Common lifecycle routes:

MethodPathPurpose
GET/api/v1/sessionValidate the credential
GET/api/v1/catalog/createDiscover create options
POST/api/v1/databasesCreate or queue a database
GET/api/v1/databasesList databases
GET/api/v1/databases/{databaseId}Inspect one database
DELETE/api/v1/databases/{databaseId}Queue deletion
POST/api/v1/databases/{databaseId}/tb/{operation}Run a TigerBeetle operation

Database create and delete are asynchronous. A successful accept response does not mean infrastructure is ready—poll database or job status until the work finishes. See Database statuses.