Status API#

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

Method

Path

Summary

GET

/v1/status

Get status summary

GET

/v1/status/gpus

Get GPU status

PATCH

/v1/status/gpus/{uuid}

Enable or disable a GPU

GET

/v1/status/incidents

List status incidents

GET

/v1/status/services/{service_id}/history

Get service status history

GET

/v1/status/services/{service_id}/history-detail

Get detailed service status history

GET /v1/status#

Get status summary

Returns the overall status and each monitored service’s state over a 24h, 7d or 30d window, and flags the result stale when the monitor has not completed a recent cycle. Fails with 503 when the status store is unavailable.

  • Operation: getStatusSummary

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/status" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

window

query

one of "24h", "7d", "30d"

X-GeoNemo-Project-ID

header

string

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

Responses

Status

Meaning

Body

200

OK

StatusSummary

422

Validation Error

HTTPValidationError

GET /v1/status/gpus#

Get GPU status

Returns each GPU’s state, scheduling policy and queued or running requests, with the originating run where known, and whether the caller may manage GPUs. Fails with 503 when GPU control is unavailable.

  • Operation: getGpuStatus

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/status/gpus" \
  -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

GpuStatus

422

Validation Error

HTTPValidationError

PATCH /v1/status/gpus/{uuid}#

Enable or disable a GPU

Turns scheduling on one GPU on or off. revision guards against concurrent changes (409 when stale). Requires gpu:manage; workload credentials are refused with 403, and GPU control being unavailable gives 503.

  • Operation: setGpuEnabled

  • Access: bearer token or console session cookie

curl -X PATCH "https://geonemo.example.com/v1/status/gpus/<uuid>" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d @body.json

Parameters

Name

In

Type

Required

Description

uuid

path

string

yes

The GPU UUID.

X-GeoNemo-Project-ID

header

string

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

Request body

Content type

Schema

Required

application/json

GpuPolicyUpdate

yes

Responses

Status

Meaning

Body

200

OK

GpuPolicyReceipt

422

Validation Error

HTTPValidationError

GET /v1/status/incidents#

List status incidents

Lists incidents, optionally for one service, one state (open or closed) and a time range, paged by limit (at most 500) and offset. Returns 422 when the range is invalid or too long.

  • Operation: queryStatusIncidents

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/status/incidents" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

service_id

query

string or null

from

query

string (date-time) or null

to

query

string (date-time) or null

status

query

one of "open", "closed" or null

limit

query

integer

offset

query

integer

X-GeoNemo-Project-ID

header

string

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

Responses

Status

Meaning

Body

200

OK

IncidentPage

422

Validation Error

HTTPValidationError

GET /v1/status/services/{service_id}/history#

Get service status history

Returns a page of a service’s recorded probe observations in a time range, without the coverage and timeline summary of the detailed form. Paged by limit (at most 500) and offset. Returns 404 for an unknown service and 422 for an invalid range.

  • Operation: getServiceStatusHistory

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/status/services/<service_id>/history" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

service_id

path

string

yes

The monitored service ID.

from

query

string (date-time) or null

to

query

string (date-time) or null

limit

query

integer

offset

query

integer

X-GeoNemo-Project-ID

header

string

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

Responses

Status

Meaning

Body

200

OK

ServiceHistory

422

Validation Error

HTTPValidationError

GET /v1/status/services/{service_id}/history-detail#

Get detailed service status history

Returns a service’s recorded probe observations in a time range together with coverage, availability, state proportions and a timeline. Paged by limit (at most 500) and offset. Returns 404 for an unknown service and 422 for an invalid range.

  • Operation: getDetailedServiceStatusHistory

  • Access: bearer token or console session cookie

curl -X GET "https://geonemo.example.com/v1/status/services/<service_id>/history-detail" \
  -H "Authorization: Bearer $TOKEN"

Parameters

Name

In

Type

Required

Description

service_id

path

string

yes

The monitored service ID.

from

query

string (date-time) or null

to

query

string (date-time) or null

limit

query

integer

offset

query

integer

X-GeoNemo-Project-ID

header

string

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

Responses

Status

Meaning

Body

200

OK

ServiceHistoryDetail

422

Validation Error

HTTPValidationError