Execute a GraphQL query or mutation

The single entrypoint for Railway's public API. POST a GraphQL query or mutation; the schema is available by introspection against this same endpoint. Authorization failures return HTTP 200 with an errors array; validation failures return HTTP 400 with extensions.code. Every response carries a traceId.

post/graphql/v2

Request

  • Base URL: https://backboard.railway.com
  • URL: https://backboard.railway.com/graphql/v2
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://backboard.railway.com/oauth/auth, token URL https://backboard.railway.com/oauth/token)

Request body

querystring required

The GraphQL query or mutation.

variablesobject
operationNamestring

Response

GraphQL execution result. data and/or errors per the GraphQL spec.

dataobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.