Metric conditions
List metric conditions
Returns the team's metric conditions, oldest first.
get/metric-conditions
Request
- Base URLhttps://api.spectate.net/v1
- AuthHTTP bearer
Query parameters
filter[host_id]string uuid
Only conditions attached to this host directly (not through its project).
filter[project_id]string uuid
Only conditions attached to this project.
pageinteger
Page number, from 1.
per_pageinteger
Conditions per page, 1 to 100.
Response
Paginated set of MetricCondition
Example response
{
"data": [
{
"threshold": 90,
"duration_minutes": 5,
"hosts": [
{
"label": "web-1"
}
],
"projects": [
{
"name": "Production"
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.