Response Codes

Smarter AI REST APIs use standard HTTP response codes to indicate whether a specific request has been successfully completed or not.

Response CodeReason
200 OKThe request is successful.
202 AcceptedThe request has been accepted for future (asynchronous) processing.
400 Bad RequestThe server could not understand the request due to invalid syntax.
401 UnauthorizedThe client must authenticate itself to get the requested data or perform requested action.
404 Not FoundThe requested resource was not found.
429 Too Many RequestsThe user has sent too many requests in a given amount of time. We recommend implementing an exponential back-off timer.
5xx Internal Server ErrorsThe server is not working properly.