/** * Standard error response format for all Extend API errors. * * See the [Error Codes documentation](https://docs.extend.ai/2026-02-09/developers/error-codes) for error handling recommendations. */ export interface ApiError { /** Error code for programmatic handling. */ code: string; /** * Human-readable error message suitable for displaying to developers. * Do not rely on the exact text of this message as it may change. */ message: string; /** * Whether the request can be retried. When true, retry with exponential backoff. * When false, fix the underlying issue before retrying. */ retryable: boolean; /** * Unique request identifier for support purposes. Always include this * when contacting Extend support about an error. */ requestId?: string; }