The complete schema reference, generated from OpenAPI 3.1.0.
QueryResult
object
metricstringrequiredkindstringoptional"gauge" "counter" "histogram" "mixed"aggregationstringrequiredfromstringrequiredThe resolved start of the range, so a caller can see what a relative range meant.
date-timetostringrequireddate-timestepstringoptionalThe width of each point when the query merged stored windows,
including the width step=auto chose. Absent when stored windows
were returned as they are. Points are bucket starts.
seriesQuerySeries[]requiredArray items · QuerySeries
QuerySeries ↗Object properties
kindstringrequired"gauge" "counter" "histogram"labelsobjectrequiredAdditional values · string
pointsobject[]requiredArray items · object
Object properties
tstringrequiredThe window start.
date-timevnumberrequiredtruncatedbooleanoptionalTrue when a limit cut the response short, so a caller can tell an incomplete answer from an empty one.
warningsstring[]optionalFacts a caller needs that are not errors, such as a percentile requested of a metric that has no histogram.
Array items · string
QuerySeries
object
kindstringrequired"gauge" "counter" "histogram"labelsobjectrequiredAdditional values · string
pointsobject[]requiredArray items · object
Object properties
tstringrequiredThe window start.
date-timevnumberrequiredStreamRollup
object
The data of a rollup event on GET /v1/stream: the current totals
of one series' window, replacing any earlier event for the same
series and window. Not an additive delta.
kindstringrequired"gauge" "counter" "histogram"metricstringrequiredlabelsobjectrequiredAdditional values · string
window_startstringrequireddate-timewindow_endstringrequireddate-timecountintegerrequiredsumnumberrequiredminnumberrequiredmaxnumberrequiredlastnumberrequiredThe value of the observation with the latest event time.
StreamReset
object
The data of a reset event on GET /v1/stream: the requested
position could not be honoured, and the stream continues live from
revision. Refetch the displayed range through GET /v1/query.
reasonstringrequired"stale_cursor" "future_cursor" "foreign_cursor" "lagging"revisionintegerrequiredint64MetricSummary
object
metricstringoptionalkindstringoptionalseries_countintegeroptionalDistinct label combinations seen for this metric.
oldest_windowstringoptionaldate-timenewest_windowstringoptionaldate-timeIngestRequest
object
pointsPoint[]required1Max items 1000Array items · Point
Point ↗Unknown fields are rejected rather than ignored, so a typo such as
timestmap is reported immediately instead of silently dropping data.
Object properties
metricstringrequiredDotted metric name. Must start with a letter or underscore; trailing dots and doubled dots are rejected.
200Pattern ^[a-zA-Z_][a-zA-Z0-9_.\-]*$kindstringrequiredgauge moves in any direction, counter is a nonnegative increment (not a cumulative total) and
must not be negative, histogram is an observation to be bucketed.
"gauge" "counter" "histogram"valuenumberrequiredRequired, finite, and at most 1e100 in absolute value. Null is rejected. NaN and the infinities are rejected: a single one poisons every aggregate it reaches, with nothing left to identify which point caused it.
doubleMinimum -1e+100Maximum 1e+100timestampstring | nulloptionalRFC 3339. Defaults to the arrival time when omitted or null. May be up to 5 minutes in the future to tolerate client clock drift, and up to 7 days in the past by default. Accepted late observations can correct an older window; window closure is not a finality guarantee.
date-timelabelsobject | nulloptionalDimensions to break the metric down by. The 20-label ceiling is the
tightest limit in the API: cardinality is multiplicative, and an
unbounded label set is the fastest way to make a time-series store
unqueryable. Keys beginning __ are reserved by the platform.
Omitted or null means an empty label set. Values are limited to
256 UTF-8 bytes (in addition to the schema character ceiling) and
must not contain control characters.
20Additional values · string
256Property name constraints
64Pattern ^[a-zA-Z_][a-zA-Z0-9_]*$Unknown properties are rejected.
Unknown properties are rejected.
Point
object
Unknown fields are rejected rather than ignored, so a typo such as
timestmap is reported immediately instead of silently dropping data.
metricstringrequiredDotted metric name. Must start with a letter or underscore; trailing dots and doubled dots are rejected.
200Pattern ^[a-zA-Z_][a-zA-Z0-9_.\-]*$kindstringrequiredgauge moves in any direction, counter is a nonnegative increment (not a cumulative total) and
must not be negative, histogram is an observation to be bucketed.
"gauge" "counter" "histogram"valuenumberrequiredRequired, finite, and at most 1e100 in absolute value. Null is rejected. NaN and the infinities are rejected: a single one poisons every aggregate it reaches, with nothing left to identify which point caused it.
doubleMinimum -1e+100Maximum 1e+100timestampstring | nulloptionalRFC 3339. Defaults to the arrival time when omitted or null. May be up to 5 minutes in the future to tolerate client clock drift, and up to 7 days in the past by default. Accepted late observations can correct an older window; window closure is not a finality guarantee.
date-timelabelsobject | nulloptionalDimensions to break the metric down by. The 20-label ceiling is the
tightest limit in the API: cardinality is multiplicative, and an
unbounded label set is the fastest way to make a time-series store
unqueryable. Keys beginning __ are reserved by the platform.
Omitted or null means an empty label set. Values are limited to
256 UTF-8 bytes (in addition to the schema character ceiling) and
must not contain control characters.
20Additional values · string
256Property name constraints
64Pattern ^[a-zA-Z_][a-zA-Z0-9_]*$Unknown properties are rejected.
IngestResponse
object
batch_idstringrequiredIdentifies the accepted batch downstream.
acceptedintegerrequiredPoints admitted to the pipeline.
rejectedintegerrequiredPoints that failed validation. Always exact.
errorsFieldError[]optionalThe individual failures, capped at 100 entries so a response cannot dwarf the request that produced it.
100Array items · FieldError
FieldError ↗Object properties
fieldstringrequiredDotted path to the offending value, including the batch index.
messagestringrequiredWhat the submitter must change.
errors_truncatedbooleanoptionalTrue when more than 100 field violations occurred. One rejected point can have several violations, so errors length need not equal rejected.
FieldError
object
fieldstringrequiredDotted path to the offending value, including the batch index.
messagestringrequiredWhat the submitter must change.
Problem
object
typestringrequiredurititlestringrequiredstatusintegerrequireddetailstringoptionalHuman-readable explanation. Do not branch on this.
codestringrequiredStable machine-readable identifier. Branch on this.
"bad_request" "validation_failed" "unauthorized" "forbidden" "not_found" "method_not_allowed" "conflict" "payload_too_large" "unsupported_media_type" "rate_limited" "timeout" "service_unavailable" "internal_error"request_idstringoptionalerrorsFieldError[]optionalArray items · FieldError
FieldError ↗Object properties
fieldstringrequiredDotted path to the offending value, including the batch index.
messagestringrequiredWhat the submitter must change.
ProbeStatus
object
statusstringrequired"ok" "draining" "degraded"checksobjectoptionalPer-dependency result; details of failures are logged server-side, not exposed in this response.
Additional values · string
"ok" "unavailable"VersionInfo
object
versionstringoptionalcommitstringoptionalbuild_datestringoptionalgo_versionstringoptionalplatformstringoptional