---
title: "Query the graph"
method: GET
path: "/api/v2/query"
tags: ["queries"]
---

# Query the graph

`GET /api/v2/query`

## Query parameters

- `lang` 'gizmo' | 'graphql' | 'mql' | 'sexp', required
- `qu` string, required

## Response `200`

query succesful

- QueryResult
  - `result` object[], nullable

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/cayleygraph/apis/cayley-api.md) · [All operations](https://skmtc.net/cayleygraph/apis/cayley-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cayleygraph/cayley-api/versions/97aa3ff2ec7c/schema)
