Status API#
Served by: GeoNeMo Toolkit API. Schemas are on the schemas page.
Method |
Path |
Summary |
|---|---|---|
|
|
Get status summary |
|
|
Get GPU status |
|
|
Enable or disable a GPU |
|
|
List status incidents |
|
|
Get service status history |
|
|
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:
getStatusSummaryAccess: 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 |
|---|---|---|---|---|
|
query |
one of |
||
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
getGpuStatusAccess: 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 |
|---|---|---|---|---|
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
setGpuEnabledAccess: 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 |
|---|---|---|---|---|
|
path |
string |
yes |
The GPU UUID. |
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Request body
Content type |
Schema |
Required |
|---|---|---|
|
yes |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
queryStatusIncidentsAccess: 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 |
|---|---|---|---|---|
|
query |
string or null |
||
|
query |
string (date-time) or null |
||
|
query |
string (date-time) or null |
||
|
query |
one of |
||
|
query |
integer |
||
|
query |
integer |
||
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
getServiceStatusHistoryAccess: 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 |
|---|---|---|---|---|
|
path |
string |
yes |
The monitored service ID. |
|
query |
string (date-time) or null |
||
|
query |
string (date-time) or null |
||
|
query |
integer |
||
|
query |
integer |
||
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |
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:
getDetailedServiceStatusHistoryAccess: 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 |
|---|---|---|---|---|
|
path |
string |
yes |
The monitored service ID. |
|
query |
string (date-time) or null |
||
|
query |
string (date-time) or null |
||
|
query |
integer |
||
|
query |
integer |
||
|
header |
string |
Organizational project metadata only; not an authorization or tenant boundary. |
Responses
Status |
Meaning |
Body |
|---|---|---|
|
OK |
|
|
Validation Error |