Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.neuro-tech.io/llms.txt

Use this file to discover all available pages before exploring further.

Error handling

The Neuron API uses standard HTTP status codes and returns structured error objects to help you handle failures gracefully.

Error response format

{
  "error": {
    "code": "invalid_request",
    "message": "The 'name' field is required.",
    "requestId": "abc123"
  }
}

HTTP status codes

CodeMeaning
200Success
201Resource created
400Bad request — check your request body or parameters
401Unauthorized — invalid or missing API key
403Forbidden — insufficient permissions
404Not found — resource does not exist
422Unprocessable entity — validation error
429Too many requests — rate limit exceeded
500Internal server error — contact support

Rate limiting

If you exceed the rate limit, you’ll receive a 429 response. The Retry-After header indicates how many seconds to wait before retrying.

Retries

For transient errors (500, 503), implement exponential backoff with jitter. Do not retry on 4xx errors without fixing the underlying issue.