opsdocsConsole

Ops platform / HTTP API

Logs, traces and metrics

Search the logs, traces and metrics your services send.

Updated 13 Oct 2026View as Markdown

Search the logs, traces and metrics your services send.

GET /api/v1/obs/logs

Scrubbed log events, newest first.

ParameterInTypeAbout
service (optional)querystring or null
level (optional)querystring or null
q (optional)querystring or nullSubstring match on message and target (case-insensitive).
from (optional)querystring or null
to (optional)querystring or null
limit (optional)queryinteger or null1 to 1000, default 200.
project (optional)querystring or nullRepeating the parameter is refused.
environment (optional)querystring or nullEnvironment name; absent means every environment.
StatusMeansBody
200Donearray of LogEntry
401Bad token

GET /api/v1/obs/metrics/names

Metric names seen in the last 24 h (the picker on the Metrics page).

ParameterInTypeAbout
project (optional)querystring or null
environment (optional)querystring or null
StatusMeansBody
200Donearray of MetricName
401Bad token

GET /api/v1/obs/metrics/series

One metric over a time window, bucketed server-side and grouped per service. Recent narrow windows read the raw samples; anything wider or older than the 14-day raw retention reads the 5-minute rollups.

ParameterInTypeAbout
namequerystring
service (optional)querystring or null
from (optional)querystring or null
to (optional)querystring or null
project (optional)querystring or nullRepeating the parameter is refused.
environment (optional)querystring or nullEnvironment name; absent means every environment.
StatusMeansBody
200DoneSeriesResponse
401Bad token

GET /api/v1/obs/services

Services seen in the last 24 h (filter dropdowns on the Logs/Traces pages).

ParameterInTypeAbout
project (optional)querystring or null
environment (optional)querystring or null
StatusMeansBody
200Donearray of string
401Bad token

GET /api/v1/obs/traces

Root spans (one per trace), newest first, the trace list.

ParameterInTypeAbout
service (optional)querystring or null
q (optional)querystring or nullSubstring match on the root span's name (case-insensitive).
status (optional)querystring or nullExact span status (e.g. ERROR).
from (optional)querystring or null
to (optional)querystring or null
limit (optional)queryinteger or null
project (optional)querystring or nullRepeating the parameter is refused.
environment (optional)querystring or nullEnvironment name; absent means every environment.
StatusMeansBody
200Donearray of SpanEntry
401Bad token

GET /api/v1/obs/traces/{trace_id}

Every span of one trace, in start order, the waterfall.

ParameterInTypeAbout
trace_idpathstring
project (optional)querystring or null
environment (optional)querystring or null
StatusMeansBody
200Donearray of SpanEntry
404No such trace, or none of it in this project

Types

LogEntry

FieldTypeAbout
client (optional)string or null
environmentstring
fingerprint (optional)string or null
hoststring
levelstring
messagestring
method (optional)string or null
projectstring
route (optional)string or null
servicestring
span (optional)string or null
status (optional)string or null
targetstring
timestampstring

MetricName

FieldTypeAbout
kindstring
namestring

SeriesResponse

FieldTypeAbout
bucket_secondsinteger
kindstring
namestring
seriesarray of MetricSeries
sourcestringraw (14-day full-resolution window) or rollup (5-minute aggregates).

SpanEntry

FieldTypeAbout
duration_msnumber
environmentstring
http_status (optional)string or null
kind (optional)string or null
method (optional)string or null
namestring
parent_span_id (optional)string or null
projectstring
route (optional)string or null
servicestring
span_idstring
status (optional)string or null
timestampstring
trace_idstring

MetricSeries

FieldTypeAbout
pointsarray of SeriesPoint
servicestring

SeriesPoint

FieldTypeAbout
max (optional)number or null
min (optional)number or null
tstring
value (optional)number or nullGauge: bucket average. Counter: the cumulative count at bucket end, summed across label sets, the UI derives the rate from consecutive points.