Errors
In the event an issue occurs with our system, or with one of the model providers we integrate with, our API will raise a predictable and interpretable error.
HTTP error codes
Our API will return one of the following HTTP error codes in the event of an issue:
Error details
Our /chat
and /completion
endpoints act as a unified interface across all popular model providers. The error returned by these endpoints may be raised by the model provider’s system. Details of the error are returned in the detail
object of the response.