AI · GraphQL query

aiStatus query

Reports whether the AI service is ready to answer requests. The other AI operations fail until it reports AVAILABLE, which happens once the service finishes initializing after startup.

Response

Returns an AiStatusPayload!

Example

Query

query aiStatus {
  aiStatus {
    status
  }
}

Response

{"data": {"aiStatus": {"status": "ERROR"}}}