Error Handling
Understanding and handling errors in the Responses API Beta
Beta API
This API is in beta stage and may have breaking changes. Use with caution in production environments.
Stateless Only
This API is stateless - each request is independent and no conversation state is persisted between requests. You must include the full conversation history in each request.
The Responses API Beta returns structured error responses that follow a consistent format.
Error Response Format
All errors follow this structure:
Error Codes
The API uses the following error codes: