Skip to main content
An authenticated GET request reaches the Akua API and branches into three response shapes: a single object, a paginated data list with next cursor, or an error with a codeAn authenticated GET request reaches the Akua API and branches into three response shapes: a single object, a paginated data list with next cursor, or an error with a code
The Akua API is a RESTful API that lets you manage workspaces, clusters, products, offers, and installs programmatically. It powers the dashboard and the Akua CLI, and you can use it to build custom integrations.

Soft-launch availability

Use the guides to deploy your application, share it with a customer, or install an app you received. The reference also lists hosted Sandbox and dedicated OpenCode Server APIs. Those features are not available in the soft launch. A listed API operation does not mean that the feature is available.

Base URL

All API requests are made to:
An illustrative request:
Workspace-scoped endpoints resolve the workspace from your credential. A workspace API token already belongs to a workspace, so you can omit any workspace header entirely. With a broad credential (dashboard session or multi-workspace token), select the workspace with the optional Akua-Context header:

Authentication guide

Learn how to create tokens, scope requests, and use JWTs.

Conventions

The API uses snake_case for all field names. This keeps responses consistent regardless of the client language and matches the format you see in curl, logs, and debugging tools.

Response format

Single objects are returned directly (no wrapper). Timestamps are Unix seconds:
List responses return data with flat pagination fields:
Error responses use one envelope for every failure. errors always has at least one entry; path and metadata appear when they apply:

Pagination

List endpoints support cursor-based pagination with two query parameters:

Error codes

_tag names the error and errors[].code is the stable machine-readable code. Branch on the HTTP status or _tag, and show message to people. Idempotency-key reuse with a different request returns 409 IdempotencyConflict (code 7015).

OpenAPI spec

The spec for the public API is served as raw OpenAPI 3.1 JSON:

OpenAPI spec

Raw OpenAPI 3.1 specification (JSON).

Authentication

Create tokens and learn about supported auth methods.

OpenAPI specification

Download the spec and generate type-safe clients.

CLI

Authenticate and run generated OpenAPI commands.

Use your coding agent

Operate Akua with your coding agent.