SDK npm package is not published yet and API environments may be unavailable.View status
Resources

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.

SpecVersionScopeFormat
Integration APIv1Ananke Trust + Ananke TCode + Reference DataJSON

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:

Generate a client with openapi-generator
# 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-client

Import into tools

Postman

  1. Open Postman and click Import
  2. Choose File and select the downloaded integration-api-v1.json
  3. Postman will create a collection with all endpoints pre-configured
  4. Set the baseUrl variable to your environment URL
  5. Add your API key to the collection's x-api-key header

Bruno

  1. Create a new Bruno collection
  2. Import from OpenAPI spec — select the JSON file
  3. 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.