Smarter AI REST APIs use standard HTTP response codes to indicate whether a specific request has been successfully completed or not.
Response Code | Reason |
---|---|
200 OK | The request is successful. |
202 Accepted | The request has been accepted for future (asynchronous) processing. |
400 Bad Request | The server could not understand the request due to invalid syntax. |
401 Unauthorized | The client must authenticate itself to get the requested data or perform requested action. |
404 Not Found | The requested resource was not found. |
429 Too Many Requests | The user has sent too many requests in a given amount of time. We recommend implementing an exponential back-off timer. |
5xx Internal Server Errors | The server is not working properly. |