Metrics over time
Authorizations
Path parameters
agentIDstring · uuidRequired
Query parameters
startstring · durationOptionalDefault:
Option to filter metrics since the given time ago
-24h
intervalstring · durationOptionalDefault:
Option to set the time window to group metrics
1h
Responses
200
OK
application/json
get
GET /v2/agents/{agentID}/metrics_over_time HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
OK
{
"input": {
"bytes": [
{
"time": "2025-06-27T17:19:58.781Z",
"value": 1
}
],
"records": [
{
"time": "2025-06-27T17:19:58.781Z",
"value": 1
}
]
},
"filter": {
"bytes": [
{
"time": "2025-06-27T17:19:58.781Z",
"value": 1
}
],
"records": [
{
"time": "2025-06-27T17:19:58.781Z",
"value": 1
}
],
"addRecords": [
{
"time": "2025-06-27T17:19:58.781Z",
"value": 1
}
],
"dropRecords": [
{
"time": "2025-06-27T17:19:58.781Z",
"value": 1
}
],
"emitRecords": [
{
"time": "2025-06-27T17:19:58.781Z",
"value": 1
}
]
},
"output": {
"bytes": [
{
"time": "2025-06-27T17:19:58.781Z",
"value": 1
}
],
"records": [
{
"time": "2025-06-27T17:19:58.781Z",
"value": 1
}
],
"errors": [
{
"time": "2025-06-27T17:19:58.781Z",
"value": 1
}
],
"retries": [
{
"time": "2025-06-27T17:19:58.781Z",
"value": 1
}
],
"retriedRecords": [
{
"time": "2025-06-27T17:19:58.781Z",
"value": 1
}
],
"retriesFailed": [
{
"time": "2025-06-27T17:19:58.781Z",
"value": 1
}
],
"droppedRecords": [
{
"time": "2025-06-27T17:19:58.781Z",
"value": 1
}
]
}
}