Skip to content
You're viewing documentation for v2026.11.9-beta. It may be out of date.Go to latest
TimescaleDB Enterprise
Esc
↑↓navigate↵open⌘Jpreview

Run a PromQL instant query

Execute PromQL instant query.

POST/api/v1/promql/query
Authorization
tse_sessionAPI key · cookierequired
Request body
requiredapplication/json
querystringrequired
timestring
Responses
200

OK

any
default

Error

codestring

Stable code of the refusal, when the route has codes

detailsstring[]

Additional detail, e.g. per-field validation failures

errorstringrequired

Human-readable error message

Request
curl -X POST 'https://console.example.com/api/v1/promql/query' \
  -H 'Cookie: tse_session=YOUR_API_KEY' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "query": "string",
  "time": "string"
}'
Response
OK