Returns the list of time series that match a certain label set using POST.
POST/v1/metrics/prometheus/api/v1/series
Submit label matchers and time range data in the request body using URL-encoded form parameters. Please ensure to change the region in the URL to match your account's region.
Request
- application/x-www-form-urlencoded
Body
required
match[] string[]required
Series selector that selects the series to return. At least one must be provided.
start stringrequired
Start timestamp, inclusive, as an RFC3339 or Unix timestamp.
end stringrequired
End timestamp, inclusive, as an RFC3339 or Unix timestamp.
limit integer
Maximum number of returned series. Optional.
Responses
- 200
- 400
- 500
Successful retrieval of matching time series.
- application/json
- Schema
- Example (from schema)
Schema
status string
Status of the request (e.g., success, fail).
data object[]
{
"status": "string",
"data": [
{}
]
}
Invalid request parameters.
Internal server error.
Loading...