API overview
The Mira HTTP API is OpenAI-compatible. One base URL, one authentication header, one canonical endpoint shape — point any OpenAI client at it and the official SDKs work as a drop-in.
Base URL
https://api.vmira.ai/v1Authentication
Every request includes an API key in the Authorization header. Keys start with sk-mira- and can be created at platform.vmira.ai/api-keys.
Header
Authorization: Bearer sk-mira-YOUR_API_KEYNever expose an API key in client-side code or a public repository. Keep keys in environment variables and rotate them when a teammate leaves.
Endpoint list
The canonical inventory of every HTTP endpoint lives on the endpoint reference. The high-traffic ones:
- POST /v1/chat/completions — the main conversational endpoint — see Chat completions below.
- GET /v1/models — list the model catalog available to your key.
Pricing
Per-token rates live on the platform pricing page.