OpenAPI specifications
Download machine-readable OpenAPI 3.0 specs for the Ananke Labs Integration API. Use them with code generators, Postman, Bruno, or any compatible tool.
Available specs
The Ananke Labs Integration API is described by a single unified OpenAPI 3.0 specification covering both Ananke Trust and Ananke TCode endpoints. The spec is the source of truth for request/response schemas, authentication requirements, and error structures.
| Spec | Version | Scope | Format |
|---|---|---|---|
| Integration API | v1 | Ananke Trust + Ananke TCode + Reference Data | JSON |
Download
The OpenAPI spec file is available in the Ananke Labs repository and can be downloaded for local tooling. Docs also expose filtered views from the same source spec:
/api/docs/openapi?product=all— full unified spec/api/docs/openapi?product=trust— Ananke Trust paths only/api/docs/openapi?product=tcode— Ananke TCode paths only
Integration API v1
OpenAPI 3.0 · JSON
Complete specification covering Ananke Trust issuance & verification, Ananke TCode stamping & verification, reference data, and bulk job endpoints.
Code generation
Use OpenAPI generators to create typed clients in any language. For TypeScript, we recommend using the official @ananke/sdk instead, but generated clients work well for other languages:
# Install the OpenAPI Generator CLI
npm install -g @openapitools/openapi-generator-cli
# Generate a Python client
openapi-generator-cli generate \
-i integration-api-v1.json \
-g python \
-o ./generated/python-client
# Generate a C# client
openapi-generator-cli generate \
-i integration-api-v1.json \
-g csharp \
-o ./generated/csharp-client
# Generate a Java client
openapi-generator-cli generate \
-i integration-api-v1.json \
-g java \
-o ./generated/java-clientImport into tools
Postman
- Open Postman and click Import
- Choose File and select the downloaded
integration-api-v1.json - Postman will create a collection with all endpoints pre-configured
- Set the
baseUrlvariable to your environment URL - Add your API key to the collection's
x-api-keyheader
Bruno
- Create a new Bruno collection
- Import from OpenAPI spec — select the JSON file
- Configure the environment with your base URL and API key
Interactive API docs
This docs site uses ReDoc for interactive API rendering:
You can also use Swagger UI or any OpenAPI-compatible viewer by pointing it to one of the filtered spec URLs above.