---
title: "GraphQL Endpoint"
method: POST
path: "/graphql"
tags: ["GraphQL"]
---

# GraphQL Endpoint

`POST /graphql`

Execute GraphQL queries, mutations, and subscriptions. The complete GraphQL schema with all available types, queries, mutations, and subscriptions is documented in [Apollo Studio](https://studio.apollographql.com/public/Speckle-Server/variant/app-speckle-systems).

## Request body

- GraphQLRequest
  - `query` string, required — The GraphQL query string
  - `variables` object — Variables for the query
  - `operationName` string — Optional name of the operation to execute

## Response `200`

GraphQL response containing data and/or errors

- GraphQLResponse
  - `data` object — The response data
  - `errors` object[] — Array of errors, if any
    - `message` string
    - `locations` object[]
    - `path` unknown[]
      - unknown

## Other responses

- `400` — Bad Request - Invalid GraphQL query
- `401` — Unauthorized - Invalid or missing authentication token

---

[API](https://skmtc.dev/speckle/apis/speckle-server-graphql-api.md) · [All operations](https://skmtc.dev/speckle/apis/speckle-server-graphql-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/speckle/speckle-server-graphql-api/revisions/0743971f78fb/schema)
