Skip to main content

Intro

The Query API runs read-only LangWatchQL SELECT statements over your project’s analytics datasets. POST /api/v1/query runs one statement. GET /api/v1/query/schema lists the datasets and columns your key can query.

Endpoints

Authentication

Pass your LangWatch API key in the X-Auth-Token header.

Errors

Both endpoints answer with the standard LangWatch error envelope and a real HTTP status. No wrapper sits around it. See Error Envelope.
Last modified on August 31, 2026