Docs
API reference

API reference

Every endpoint, with request and response schemas and a live playground.

The API speaks three formats. They all reach the same models and share one key, one balance and one set of rate limits.

EndpointFormat
POST /v1/chat/completionsOpenAI Chat Completions
POST /v1/responsesOpenAI Responses (stateless)
POST /v1/messagesAnthropic Messages
POST /v1/messages/count_tokensAnthropic token counting (free)
GET /v1/modelsModel list (OpenAI format; Anthropic format when you send anthropic-version)
  • Base URL for OpenAI SDKs: https://api.interodin.com/v1
  • Base URL for Anthropic SDKs: https://api.interodin.com. They add /v1 themselves.
  • Authentication: Authorization: Bearer io-sk-… or x-api-key: io-sk-…. If you send both, x-api-key is used.
  • From servers only: the API doesn't accept browser (CORS) requests from other sites, so keep your key on your server.

Try it

Every endpoint page has a playground. Open it with Try in Playground:

  1. Paste your key into the Authorization field.
  2. Edit the body.
  3. Send the request.

The request goes through the docs server to the API (browsers can't call the API directly), and nothing is stored on the way. Playground calls are billed like any other request, and the playground waits up to two minutes for a reply. Closing the dialog doesn't cancel a request that has already been sent, so it is still billed.

Machine-readable spec

The full OpenAPI 3.1 document is published as openapi.json and openapi.yaml. Import it into Postman, Insomnia or a client generator.

On this page