Error Handling
Understanding and handling errors in the Responses API Beta
This API is in beta stage and may have breaking changes. Use with caution in production environments.
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.
All errors follow this structure:
The API uses the following error codes: