コンテンツにスキップ

All schedules. Empty in skeleton mode.

GET
/api/v1/reports/schedules
curl --request GET \
--url https://example.com/api/v1/reports/schedules \
--header 'Authorization: Bearer <token>'

Every schedule; empty in skeleton mode

Media typeapplication/json
Array<object>

A schedule row (joined with its definition’s name for display).

object
at_hour
required
integer format: int32
at_minute
required
integer format: int32
channel_ids
required

The notification channels a scheduled run is sent to (ADR-279). Empty sends nothing.

Array<string>
day_of_month
integer | null format: int32
day_of_week

The one day a weekly schedule fires on, 0=Sun … 6=Sat.

integer | null format: int32
days_of_week
required

The days a daily schedule runs on, 0=Sun … 6=Sat, sorted (ADR-279); empty is every day. For a weekly schedule, its one day.

Array<integer>
definition_id
required
string format: uuid
definition_name
required
string
enabled
required
boolean
frequency
required

How often a schedule fires.

string
Allowed values: daily weekly monthly unknown
id
required
string format: uuid
last_run_ms
integer | null format: int64
last_status
One of:
null
message_language
required

The language the sent message is written in.

string
Allowed values: en ja
next_run_ms
required
integer format: int64
time_zone

The IANA zone at_hour/at_minute and the day are a wall time in; null means UTC (ADR-221).

string | null
Example
[
{
"frequency": "daily",
"last_status": "queued",
"message_language": "en"
}
]

No valid bearer token

Media typeapplication/json

The ADR-019 envelope every failure renders as. pub(crate) and schema-bearing so the OpenAPI document can name one error shape for every endpoint (ADR-035) instead of leaving 4xx/5xx bodies undescribed — a client that has to guess the failure shape ends up parsing the success shape and reading undefined.

object
error
required
object
code
required

Stable machine-readable code. Clients branch on this, never on the message.

string
message
required

Operator-facing sentence. Safe to display; never carries an internal error’s own text.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example"
}
}

Role lacks View

Media typeapplication/json

The ADR-019 envelope every failure renders as. pub(crate) and schema-bearing so the OpenAPI document can name one error shape for every endpoint (ADR-035) instead of leaving 4xx/5xx bodies undescribed — a client that has to guess the failure shape ends up parsing the success shape and reading undefined.

object
error
required
object
code
required

Stable machine-readable code. Clients branch on this, never on the message.

string
message
required

Operator-facing sentence. Safe to display; never carries an internal error’s own text.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example"
}
}