Response statuses

AI Hub API endpoints use HTTP status codes to communicate response statuses. Responses are grouped in the following classes:

RangeResponse classNotes
100-199Informational responses
200-299Successful responses
300-399Redirects
400-499Client errors- A 401 code indicates an authorization error. This can be caused by an invalid API token, an invalid IB-Context header, or by calling an API that requires permissions you don’t have.
- A 403 code indicates insufficient consumption units to complete the call. For organizations on a free trial of AI Hub Commercial, a 403 code can indicate that your trial has ended.
500-599Server errors

Legacy APIs might not use the same response classes.

Was this page helpful?