logo
OpenapiAdmin

Run a read-only admin GraphQL query

API Docs with browser client
POST
/admin/graphql

Executes a GraphQL query against the read-only admin schema (no mutations exist). Use getAdminGraphqlSchema for the tables and columns. Requires the ADMIN_GRAPHQL;;READ permission.

Authorization

headerx-api-key<token>

Request Body

application/json
  1. body
query*string
Length1 <= length <= 20000
variables?
operationName?string

Response Body

OK

application/json
  1. response
data?unknown|null
errors?array<>
Example Request
curl -X POST 'https://example.com/v4/admin/graphql' \  -H 'Content-Type: application/json' \  -d '{  "query": "string"}'
Example Response
{  "data": null,  "errors": [    {      "message": "string",      "path": [        "string"      ]    }  ]}