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

# Query the graph

`POST /api/v2/query`

## Query parameters

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

## Response `200`

query succesful

- object

## Other responses

- `default` — Unexpected error

## Changes

- **2017-09-01** `b493865d180c` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/cayleygraph/apis/cayley-api/changes/api/v2/query/post.md)

---

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