tracer

Execute a widget query and return chart data.

Each metric carries a source field ("traces" or "datasets"). Metrics are partitioned by source and dispatched to the appropriate query builder. Results are merged into a single response.

Each metric is validated against the canonical query contract before it reaches any query builder.

post/tracer/dashboard/query/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/tracer/dashboard/query/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Query parameters

refreshboolean

Request body

workflow'observability' | 'dataset' | 'simulation'
project_idsstring[]
granularity'minute' | 'hour' | 'day' | 'week' | 'month'
allow_sampledboolean

Deprecated compatibility parameter; accepted but ignored. The response explicitly labels exact, rollup, or unavailable provenance.

Response

OK

statusboolean

Changes

No recorded changes to this operation across all 1 revision of this API.