Infrastructure/Collects
POSTInfrastructureSince 1.0SynchronousAuth Required
UnifiedQuery
Execute a unified query across metrics and logs data sources.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
queryStringRequiredQuery expression targeting both metrics and logs data sources
Example: cpu_usage{host="server-01"} > 80
Responses
Endpoint
POST/api/v1/collects/query
/api/v1/collects/query
Request Example
curl -X POST '{host}/api/v1/collects/query' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"query":"cpu_usage{host=\"server-01\"} > 80"}'
Response Example
200{
"data": null
}Change History
This API has no change history records yet.
