---
title: "POST /api/graphchain/query/validate"
method: POST
path: "/api/graphchain/query/validate"
tags: ["Graph Chain APIs"]
---

# POST /api/graphchain/query/validate

`POST /api/graphchain/query/validate`

<b>Allowed user roles:</b><br/><ul><li>sdzReadOnly</li><li>sdzUser</li></ul><br/><br/>DEPRECATED Content-Type=application/json (09 MAY 24): Use ContentType=text/plain. | Validate a given query for syntax; optional enforcement options.

## Request body

- QueryValidateRequest
  - `query` string, required
  - `mustHaveGraph` boolean

## Response `200`

OK

---

[API](https://skmtc.net/burstiq/apis/lifegraph-apis.md) · [All operations](https://skmtc.net/burstiq/apis/lifegraph-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/burstiq/lifegraph-apis/revisions/381306ef1fcd/schema)
