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 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.
Modifying the resource would leave it in an illegal state.
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 prompt/call endpoint acts as a unified interface across all popular model providers. The error returned by this endpoint may be raised by the model provider’s system. Details of the error are returned in the detail object of the response.