agentID Required | Value |
Key | Value |
Key | Value |
start | -24h |
interval | 1h |
Key | Value |
agentID Required | Value |
Key | Value |
Key | Value |
start | -24h |
interval | 1h |
Key | Value |
OK
const response = await fetch('https://cloud-api.calyptia.com/v2/agents/{agentID}/metrics_over_time', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();
{
"input": {
"bytes": [
{
"time": "2025-01-20T16:41:10.763Z",
"value": 0
}
],
"records": [
{
"time": "2025-01-20T16:41:10.763Z",
"value": 0
}
]
},
"filter": {
"bytes": [
{
"time": "2025-01-20T16:41:10.763Z",
"value": 0
}
],
"records": [
{
"time": "2025-01-20T16:41:10.763Z",
"value": 0
}
],
"addRecords": [
{
"time": "2025-01-20T16:41:10.763Z",
"value": 0
}
],
"dropRecords": [
{
"time": "2025-01-20T16:41:10.763Z",
"value": 0
}
],
"emitRecords": [
{
"time": "2025-01-20T16:41:10.763Z",
"value": 0
}
]
},
"output": {
"bytes": [
{
"time": "2025-01-20T16:41:10.763Z",
"value": 0
}
],
"records": [
{
"time": "2025-01-20T16:41:10.763Z",
"value": 0
}
],
"errors": [
{
"time": "2025-01-20T16:41:10.763Z",
"value": 0
}
],
"retries": [
{
"time": "2025-01-20T16:41:10.763Z",
"value": 0
}
],
"retriedRecords": [
{
"time": "2025-01-20T16:41:10.763Z",
"value": 0
}
],
"retriesFailed": [
{
"time": "2025-01-20T16:41:10.763Z",
"value": 0
}
],
"droppedRecords": [
{
"time": "2025-01-20T16:41:10.763Z",
"value": 0
}
]
}
}
This site uses cookies to deliver its service and to analyse traffic. By browsing this site, you accept the privacy policy.