Status
Successful Response
GET /v1/status/subjects HTTP/1.1
Host: query.jua.ai
Accept: */*
Successful Response
{
"subjects": [
{
"key": "text",
"kind": "weather",
"display_name": "text",
"published": true,
"schedule": {
"kind": "weather",
"init_schedule": "text",
"runs": [
{
"init_clock": "text",
"communicated_complete_clock": "text",
"communicated_complete_day_offset": 1
}
]
}
}
]
}Successful Response
Validation Error
GET /v1/status/summary HTTP/1.1
Host: query.jua.ai
Accept: */*
{
"subjects": [
{
"key": "text",
"kind": "weather",
"display_name": "text",
"state": "ok",
"latest_run": {
"subject_key": "text",
"init_time": "2026-01-01T00:00:00.000Z",
"status": "scheduled",
"on_time": true,
"late_minutes": 1,
"started_at": "2026-01-01T00:00:00.000Z",
"completed_at": "2026-01-01T00:00:00.000Z",
"communicated_complete": "2026-01-01T00:00:00.000Z",
"attribution": {
"title": "text",
"message": "text"
}
},
"next_expected": {
"init_time": "2026-01-01T00:00:00.000Z",
"communicated_complete": "2026-01-01T00:00:00.000Z"
},
"active_notice": {
"message": "text",
"severity": "info",
"since": "2026-01-01T00:00:00.000Z"
},
"reachability": {
"reachable": true,
"since": "2026-01-01T00:00:00.000Z"
}
}
]
}Window start, inclusive: the window is half-open [since, before). Runs and attributions whose lifetime overlaps the window are returned. Defaults to 7 days before before; a window longer than 90 days is shortened to the 90 days ending at before.
Window end, exclusive: the window is half-open [since, before), so a run initialised exactly at before is not returned. Defaults to now.
1000Successful Response
Validation Error
GET /v1/status/runs HTTP/1.1
Host: query.jua.ai
Accept: */*
{
"runs": [
{
"subject_key": "text",
"init_time": "2026-01-01T00:00:00.000Z",
"status": "scheduled",
"on_time": true,
"late_minutes": 1,
"started_at": "2026-01-01T00:00:00.000Z",
"completed_at": "2026-01-01T00:00:00.000Z",
"communicated_complete": "2026-01-01T00:00:00.000Z",
"attribution": {
"title": "text",
"message": "text"
}
}
]
}Window start, inclusive: the window is half-open [since, before). Runs and attributions whose lifetime overlaps the window are returned. Defaults to 7 days before before; a window longer than 90 days is shortened to the 90 days ending at before.
Window end, exclusive: the window is half-open [since, before), so a run initialised exactly at before is not returned. Defaults to now.
Successful Response
Validation Error
GET /v1/status/attributions HTTP/1.1
Host: query.jua.ai
Accept: */*
{
"attributions": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"title": "text",
"message": "text",
"kind": "external",
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2026-01-01T00:00:00.000Z",
"subject_keys": [
"text"
]
}
]
}7Successful Response
Validation Error
GET /v1/status/stats HTTP/1.1
Host: query.jua.ai
Accept: */*
{
"stats": [
{
"subject_key": "text",
"audience": "internal",
"overall": {
"count": 1,
"complete_count": 1,
"on_time_pct": 1,
"missing_count": 1,
"completion_delay": {
"p50": 1,
"p90": 1,
"p99": 1
},
"start_delay": {
"p50": 1,
"p90": 1
},
"on_time_pct_excluding_attributed": 1,
"attributed_count": 0,
"projected_late_count": 0,
"projected_late_precision": 1
},
"by_init_clock": [
{
"count": 1,
"complete_count": 1,
"on_time_pct": 1,
"missing_count": 1,
"completion_delay": {
"p50": 1,
"p90": 1,
"p99": 1
},
"start_delay": {
"p50": 1,
"p90": 1
},
"on_time_pct_excluding_attributed": 1,
"attributed_count": 0,
"projected_late_count": 0,
"projected_late_precision": 1,
"init_clock": "text"
}
],
"daily": [
{
"date": "2026-01-01",
"count": 1,
"on_time_pct": 1,
"p50": 1,
"p90": 1,
"late_count": 1,
"delayed_count": 1,
"attributed_count": 0
}
]
}
]
}Last updated