Agent monitoring API#
Served by: GeoNeMo monitoring part API. Schemas are on the schemas page.
Method |
Path |
Summary |
|---|---|---|
|
|
Get fleet monitoring summary |
|
|
Stream agent activity |
|
|
Get agent monitoring detail |
|
|
List run activity |
GET /v1/agent-monitoring#
Get fleet monitoring summary
Returns a monitoring summary for every agent definition, with the time it was generated.
Operation:
fleet_monitoring_v1_agent_monitoring_getAccess: bearer token or console session cookie
curl -X GET "https://geonemo.example.com/v1/agent-monitoring" \
-H "Authorization: Bearer $TOKEN"
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
GET /v1/agent-monitoring/events#
Stream agent activity
Streams agent activity as agent.activity server-sent events, oldest first. Last-Event-ID resumes after an earlier event (400 when it is not an integer). With follow=false the stream ends after the backlog; otherwise it stays open and sends keepalives.
Operation:
fleet_monitoring_events_v1_agent_monitoring_events_getAccess: bearer token or console session cookie
curl -X GET "https://geonemo.example.com/v1/agent-monitoring/events" \
-H "Authorization: Bearer $TOKEN"
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
query |
boolean |
||
|
header |
string or null |
||
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
GET /v1/agent-monitoring/{agent_id}#
Get agent monitoring detail
Returns one agent’s monitoring detail and resource history for a window of at most seven days (default: the last seven), optionally for one deployment or run, with at most max_points points (up to 600). Returns 404 for an unknown agent and 422 when the window is longer than seven days.
Operation:
agent_monitoring_detail_v1_agent_monitoring__agent_id__getAccess: bearer token or console session cookie
curl -X GET "https://geonemo.example.com/v1/agent-monitoring/<agent_id>" \
-H "Authorization: Bearer $TOKEN"
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string |
yes |
The agent ID. |
|
query |
string or null |
||
|
query |
string or null |
||
|
query |
string (date-time) or null |
||
|
query |
string (date-time) or null |
||
|
query |
integer |
||
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
GET /v1/runs/{run_id}/activity#
List run activity
Lists the recorded activity of one run, up to 1,000 entries.
Operation:
run_activity_v1_runs__run_id__activity_getAccess: bearer token or console session cookie
curl -X GET "https://geonemo.example.com/v1/runs/<run_id>/activity" \
-H "Authorization: Bearer $TOKEN"
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
string |
yes |
The run ID. |
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |