Skip to main content
Akua publishes an OpenAPI 3.1 specification that describes every endpoint, parameter, and response shape in this documentation. Use it to generate type-safe clients in any language, validate requests in your tests, and keep your integrations in lockstep with the API.

Where to get the spec

The public OpenAPI document is served at: https://api.akua.dev/openapi.json Use that URL for downloads and codegen. It reflects the deployed public API. The same document is published with these docs at https://docs.akua.dev/openapi-public.json; vendor that file when a build must pin to a stable input instead of fetching the live document.

Generate a client

Most languages have mature OpenAPI codegen tooling. Pick whichever fits your stack:

TypeScript and JavaScript

openapi-typescript generates a single .d.ts file with no runtime dependencies. Pair it with openapi-fetch for a type-safe fetch wrapper.

Go

oapi-codegen generates a strongly typed Go client.

Python

openapi-python-client emits a Pydantic-typed package.

Other languages

The OpenAPI Generator project ships generators for 50+ languages, including Java, C#, Rust, PHP, and Ruby. The Akua spec is plain OpenAPI 3.1, so any compliant generator works.

Stay in sync

Fetch the live document and cache it briefly so new endpoints become available as soon as they ship:

Introduction

API base URL, conventions, and error envelope.

Authentication

Session credentials and personal API tokens.

CLI

Discover and run commands generated from this contract.