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

# GET /graphql

`GET /graphql`

GraphQL GET endpoint

## Query parameters

- `query` string

## Response `200`

GraphQL response

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

## Other responses

- `400` — error
- `default`

## Changes

- **2025-06-02** `60812f5416c5` — 2 warning, 2 info
  - removed the optional property `data` from the response with the `400` status
  - removed the optional property `errors` from the response with the `400` status
  - api operation id `get_graphql` removed and replaced with `graphql_get`
  - added the optional property `error` to the response with the `400` status

[Change history](https://skmtc.dev/sourcenetwork/apis/defradb-api/changes/graphql/get.md)

---

[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/4a12c8ff8b60/schema)
