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
200ย โ€‘ย 299Successful
300ย โ€‘ย 399Redirect
400ย โ€‘ย 499Client error- 401 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.

- 403 indicates insufficient consumption units to complete the call. For organizations on a free trial of AI Hub Commercial, 403 can indicate that your trial has ended.
500ย โ€‘ย 599Server errorSomething has gone wrong with the server. Try your request again later.
Legacy APIs might not use the same response classes.