Skip to main content

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.

  • 2xx

    A 2xx status code indicates a successful response.

    200 - OK

    By default if everything worked as expected a 200 status code will be returned.
  • 4xx

    A 4xx status code indicates a client error, this indicates the issue is on the user's end..

    400 - Bad Request

    The request was unacceptable, often due to a missing mandatory parameter or a malformed parameter.

    401 - Unauthorized

    No valid API Key provided or the API Key provided is not authorized to access the KIRI Engine API endpoint.

    403 - Request Forbidden

    The user does not have enough credit.

    404 - Not Found

    The requested resource doesn't exist.
  • 5xx

    A 5xx status code indicates a server error. For detailed information on the specific error, refer to the code field returned.