API Reference
Tangle Router exposes an OpenAI-compatible REST API. All endpoints accept and return JSON.
Base URL
https://router.tangle.tools/v1Authentication
Pass your API key in the Authorization header:
Authorization: Bearer sk-tan-your-key-hereEndpoints
POST
/v1/chat/completionsCreate a chat completion. Streams by default.
GET
/v1/modelsList all available models across operators.
POST
/v1/embeddingsGenerate text embeddings.
POST
/v1/images/generationsGenerate images from text prompts.
POST
/v1/audio/speechGenerate speech from text (TTS).
POST
/v1/audio/transcriptionsTranscribe audio to text (STT).
GET
/v1/operatorsList active operators on the network.