The Open API uses the JSONDocumentation Index
Fetch the complete documentation index at: https://docs.vmeg.ai/llms.txt
Use this file to discover all available pages before exploring further.
code field for business outcomes. HTTP status handles transport (for example 401 for auth failures), but success and failure semantics are defined by code.
Code reference
| code | Name | Description |
|---|---|---|
| 200 | Success | Request succeeded |
| 400 | Bad Request | Invalid or failed validation |
| 401 | Unauthorized | API Key missing or invalid |
| 402 | Payment Required | Insufficient credits or quota |
| 404 | Not Found | Resource not found |
| 409 | Conflict | Idempotency key already used |
| 413 | Payload Too Large | Upload or body exceeds limit |
| 422 | Unprocessable Entity | Valid format but cannot be processed |
| 500 | Internal Server Error | Server error |
| 502 | Bad Gateway | Upstream processing failure |
Response shape
- Success:
code === 200, payload indata - Failure: human-readable
messagefor logs and support
Common cases
409 Idempotency conflict
409 Idempotency conflict
Returned when the same
X-Idempotency-Key is reused on a mutating POST endpoint within the idempotency TTL. The response may include Retry-After: 2. See Idempotency.402 Insufficient quota
402 Insufficient quota
Returned when a task cannot deduct project credits (TTS, translation, voice clone, media translation). See Pricing or add credits on vmeg.ai.
502 Upstream failure
502 Upstream failure
An upstream service failed or timed out. Poll
GET /openapi/v1/tasks/detail with the taskId (your task list on vmeg.ai does not include Open API jobs). If a webhook is configured, wait for retries.
