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.
Was this page helpful?