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

# POST /graphql

`POST /graphql`

GraphQL POST endpoint

## Request body

- RequestGraphql
  - `operationName` string
  - `query` string
  - `variables` object

## Response `200`

GraphQL response

- object
  - `data` object
  - `errors` object[]
    - `message` string

## Other responses

- `400` — GraphQL error

---

[API](https://skmtc.dev/sourcenetwork/apis/defradb-api.md) · [All operations](https://skmtc.dev/sourcenetwork/apis/defradb-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sourcenetwork/defradb-api/revisions/659e79583f79/schema)
