Skip to content

OpenAPI

The whole API is described by one OpenAPI 3.1 document. The docs, the SDKs and the MCP server are generated from the same source.

  • From these docs: /openapi.json.
  • From the API: GET https://api.halationlab.ai/v1/openapi.json (no authentication needed).

Use it to generate a client in another language, to import the API into an HTTP client, or to validate requests in tests. The interactive reference renders the same document.

What the document includes:

  • Every endpoint, with its summary, description, parameters, request body and the error codes it can return.
  • Every request and response object, with a description of each field.
  • The webhook events, under webhooks.
  • The two security schemes: apiKey (a bearer API key) and oauth2 (authorisation code with the scopes).

Request bodies are strict (additionalProperties: false); response objects are not, because they may gain fields. A model’s own parameters are not in this document: read them from GET /v1/models/{model} (input_schema) or the model pages.