API Reference

Tangle Router exposes an OpenAI-compatible REST API. All endpoints accept and return JSON.

Base URL

https://router.tangle.tools/v1

Authentication

Pass your API key in the Authorization header:

Authorization: Bearer sk-tan-your-key-here

Endpoints

POST/v1/chat/completions

Create a chat completion. Streams by default.

GET/v1/models

List all available models across operators.

POST/v1/embeddings

Generate text embeddings.

POST/v1/images/generations

Generate images from text prompts.

POST/v1/audio/speech

Generate speech from text (TTS).

POST/v1/audio/transcriptions

Transcribe audio to text (STT).

GET/v1/operators

List active operators on the network.