Skip to main content
The Avala API publishes a full OpenAPI 3.1 specification. You can use it to explore the API interactively, generate client libraries in any language, or integrate with API tooling like Postman and Insomnia.

Specification URL

The latest OpenAPI spec is always available at:
You can download it directly:

Interactive Documentation

Browse the full API reference, try out requests, and inspect schemas in the interactive docs:

Interactive API Docs

Explore every endpoint, see request and response schemas, and make live API calls directly from your browser.

Code Generation

Use the OpenAPI spec to generate a typed client in your language of choice. Below are examples for popular code generators.
The generated clients below (e.g., avala_client, openapi-fetch) are separate from the official Avala SDKs (avala for Python, @avala-ai/sdk for TypeScript). For most use cases, we recommend the official SDKs — see Python SDK and TypeScript SDK. Code generation is useful when you need a client in a language we don’t have an official SDK for, or want full type coverage of every endpoint.

Python

Generate a Python client using openapi-python-client:
This produces a fully typed Python package with Pydantic models and httpx-based HTTP methods. Note that this generated avala_client package is distinct from the official avala SDK.

TypeScript

Generate TypeScript types and a fetch client using openapi-typescript:
Then use the generated types with your preferred HTTP client:

Go

Generate a Go client using oapi-codegen:
Then use the generated client:

Other Tools

The OpenAPI spec works with any tool that supports the OpenAPI standard:
The OpenAPI specification is updated automatically whenever the API changes. Always fetch the latest version from the spec URL to ensure your generated client stays in sync.