Our API will return one of the following HTTP error codes in the event of an issue:
Your request was improperly formatted or presented.
Your request was improperly formatted or presented.
Your API key is incorrect or missing, or your user does not have the rights to access the relevant resource.
The requested resource could not be located.
Your request was properly formatted but contained invalid instructions or did not match the fields required by the endpoint.
You’ve exceeded the maximum allowed number of requests in a given time period.
An unexpected issue occurred on the server.
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.