Skip to main content
The WisdomAI GraphQL API always returns HTTP 200, even when a request fails. You must inspect the response body to determine whether an operation succeeded.

HTTP 200 on failure

Do not use the HTTP status code to detect errors. A failed GraphQL response returns HTTP 200 with either an errors array (for request-level failures) or a status object with a non-OK code (for mutation-level failures). Request-level error (HTTP 200)
Mutation failure (HTTP 200)

Mutation response status

Mutations that affect users or resources return a ResponseStatus object:
Always request status { code message } in your mutation selection set:

Transport-level HTTP errors

HTTP errors other than 200 indicate a transport or authentication problem, not an application failure:
All application-level errors and mutation failures return HTTP 200 OK. Refer to the response body for error details.

GraphQL API

Authentication and endpoint reference

ResponseStatus

Full reference for the ResponseStatus object