Every MuleRouter endpoint sits under a single host:Documentation Index
Fetch the complete documentation index at: https://mulerouter.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Industry aliases
For the few endpoints that have become de-facto industry standards, we expose short aliases at the root so existing SDKs work with a singlebase_url swap.
| Alias | Source |
|---|---|
/v1/chat/completions | /vendors/openai/v1/chat/completions |
/v1/models | /vendors/openai/v1/models |
Synchronous vs asynchronous endpoints
- Synchronous / streaming. Chat completions and similar fast endpoints respond within a single HTTP request — switch the base URL and you’re done.
- Asynchronous tasks. Image, video, speech, and music generation
return a
task_idimmediately and finish out-of-band. PollGET .../<task-id>(or use webhooks) to retrieve the result. See Asynchronous tasks for the full pattern.
Response headers worth knowing
| Header | What it’s for |
|---|---|
Traceparent | A W3C-format trace ID for this request. Include it when filing bug reports so we can find the exact run in our logs. |
Migrating from a direct provider integration
In most cases, all you need to change is thebase_url. For example,
moving from OpenAI direct to MuleRouter:
python
/vendors/<provider>/... path. The per-endpoint
reference pages list the exact request and response schemas.
