Agent monitoring API#

Served by: GeoNeMo monitoring part API. Schemas are on the schemas page.

Method

Path

Summary

GET

/v1/agent-monitoring

Get fleet monitoring summary

GET

/v1/agent-monitoring/events

Stream agent activity

GET

/v1/agent-monitoring/{agent_id}

Get agent monitoring detail

GET

/v1/runs/{run_id}/activity

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_get

  • Access: 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

X-GeoNemo-Project-ID

header

string

Organizational project metadata only; not an authorization or tenant boundary.

Responses

Status

Meaning

Body

200

OK

FleetMonitoringResponse

422

Validation Error

HTTPValidationError

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_get

  • Access: 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

follow

query

boolean

Last-Event-ID

header

string or null

X-GeoNemo-Project-ID

header

string

Organizational project metadata only; not an authorization or tenant boundary.

Responses

Status

Meaning

Body

200

OK

422

Validation Error

HTTPValidationError

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__get

  • Access: 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

agent_id

path

string

yes

The agent ID.

deployment_id

query

string or null

run_id

query

string or null

from_time

query

string (date-time) or null

to_time

query

string (date-time) or null

max_points

query

integer

X-GeoNemo-Project-ID

header

string

Organizational project metadata only; not an authorization or tenant boundary.

Responses

Status

Meaning

Body

200

OK

AgentMonitoringDetail

422

Validation Error

HTTPValidationError

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_get

  • Access: 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

run_id

path

string

yes

The run ID.

X-GeoNemo-Project-ID

header

string

Organizational project metadata only; not an authorization or tenant boundary.

Responses

Status

Meaning

Body

200

OK

RunActivityResponse

422

Validation Error

HTTPValidationError