---
title: "GET /v1/datasets/{id}/check"
method: GET
path: "/v1/datasets/{id}/check"
---

# GET /v1/datasets/{id}/check

`GET /v1/datasets/{id}/check`

## Request

- Base URL: `https://api.servicegraph.co`
- URL: `https://api.servicegraph.co/v1/datasets/{id}/check`
- Auth: HTTP bearer

Validate a DSL filter string against this dataset. Returns {valid:true, normalized} on success, {valid:false, error} on parse or validation failure. Filter cannot reference `kind:` (the URL is authoritative) and can only use fields in this dataset's allowed filter list — useful for live syntax-checking in agent UIs.

## Path parameters

- `id` string, required

## Query parameters

- `filter` string, required

## Response `200`

Default Response

---

[API](https://skmtc.dev/servicegraph/apis/servicegraph-api.md) · [All operations](https://skmtc.dev/servicegraph/apis/servicegraph-api/llms.txt) · [OpenAPI document](https://skmtc.dev/servicegraph/apis/servicegraph-api/revisions/f2f2f945c796?raw)
