Status Code
Here is a list of the different categories of status codes returned by the KIRI Engine API. Use these to understand if a request was successful.
-
A 2xx status code indicates a successful response.2xx
By default if everything worked as expected a 200 status code will be returned.200 - OK
-
A 4xx status code indicates a client error, this indicates the issue is on the user's end..4xx
The request was unacceptable, often due to a missing mandatory parameter or a malformed parameter.400 - Bad Request
No valid API Key provided or the API Key provided is not authorized to access the KIRI Engine API endpoint.401 - Unauthorized
The user does not have enough credit.403 - Request Forbidden
The requested resource doesn't exist.404 - Not Found
-
A 5xx status code indicates a server error. For detailed information on the specific error, refer to the code field returned.5xx