All Natural API errors follow a standard JSON:API-style format with stable public codes and safe display copy.Documentation Index
Fetch the complete documentation index at: https://docs.natural.co/llms.txt
Use this file to discover all available pages before exploring further.
Error response format
Every error response contains anerrors array with one or more error objects:
| Field | Type | Required | Description |
|---|---|---|---|
code | string | Yes | Stable lower-snake-case public error code (e.g., insufficient_funds) |
detail | string | Yes | Safe user-facing error message |
status | string | Yes | HTTP status code as a string |
source | object | No | Location of the invalid request value, such as source.pointer |
meta | object | Yes | Metadata containing supportId for troubleshooting |
Metadata
Public error responses includemeta.supportId by default. Internal/upstream metadata is kept in logs and traces, correlated by supportId.
Validation errors
Validation errors may includesource.pointer for API clients: