Documentation Index
Fetch the complete documentation index at: https://aimp.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Errors and rate limits
Treat errors as explicit product states. Do not hide them behind silent retries.Common status codes
| Status | Meaning | What to do |
|---|---|---|
400 | Invalid request shape, unsupported mode, bad scope, or schema mismatch. | Check model, mode, input, params, and scope. |
401 | Missing or invalid authentication. | Send X-API-Key for server requests or a valid bearer token for signed-in flows. |
402 | Payment or wallet state prevents execution. | Check Billing and wallet balance for the active workspace. |
403 | The credential is valid but lacks permission. | Confirm workspace membership and API key permissions. |
404 | Model or resource was not found. | Verify the model slug and that the model is published. |
409 | Conflicting model identity or state. | Re-check the slug and retry only after correcting the conflict. |
429 | Rate limit exceeded. | Respect Retry-After and reduce request volume. |
502 | Upstream control plane or runtime failure. | Retry later only if the operation is safe and visible to the user. |
Rate-limit headers
Responses can include:429, wait for Retry-After before making another request.