Get Series
Returns a list of time series matching the label selectors
Series selectors used to filter results (required). To receive non-empty results, at least
one selector must identify a metric by name — either as a bare name (e.g. cpu.usage.HOST)
or via the __name__ label (e.g. {__name__="cpu.usage.HOST"}). Selectors that contain
only tag/label matchers without a metric name (e.g. {host="host-15"}) will produce an
empty response.
cpu.usage.HOST,mem.consumed{cluster="prod"}
The source identifier to query data for, such as a vCenter instance UUID or NSX ID.
Start timestamp in Unix epoch seconds or RFC3339 format.
1739780198
End timestamp in Unix epoch seconds or RFC3339 format.
1739780198
Maximum number of results to return. Behaviour:
- Omitted or null: default of 500 is applied.
-1: no limit; all matching results are returned.1–10000: used as-is.> 10000: silently capped to 10000.0or any other negative value: rejected with 400.
100
Successful response
{
"status": "string",
"data": {},
"pageInfo": {
"nextPageToken": "eyJuYW1lIjoiY3B1LnVzYWdlIiwidGltZXN0YW1wIjoxNjAwMDAwMDAwfQ==",
"pageSize": 50
},
"errorType": "string",
"error": "string",
"warnings": [
"string"
],
"infos": [
"string"
]
}
API execution status.
Loose object reference for circumventing OpenAPI Generator's oneOf() problem for client SDK
Pagination metadata for paginated responses.
Type of an error. This field is set only if status is "error". The data field may still hold additional data.
Error message returned when the query fails. This field is set only if status is "error". The data field may still hold additional data.
Warnings generated during API execution. This field is set only if there were warnings while executing the request. The data field will still hold additional data.
Info generated during API execution. This field is set only if there were info-level messages while executing the request.
Bad request
Unauthorized
Forbidden
Unprocessable Entity - Query cannot be executed
Too Many Requests - Rate limit exceeded
Response Headers
Number of seconds to wait before retrying
Internal server error
curl -H 'Authorization: <value>' https://{api_host}/api/v1/series?match=value&sourceId=v