get_schedule
const url = 'https://example.com/api/v1/config-backup-schedule';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/config-backup-schedule \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”When config backups are fetched — every day from one wall time in one zone, so many nodes at a time — and where the latest run stands
When config backups are fetched, and where the latest run stands (ADR-210 stage 6).
object
The start time, a wall time in time_zone.
Whether Yagra saves any backed-up device on its own (ADR-222 decisions 8 and 13). Since
Inc.11 the switch is per node (POST /api/v1/config-backups/auto-save), and this says only
whether at least one node is on.
object
At least one backed-up node is saved automatically.
How many nodes are fetched at once.
Nodes the latest run has tried, and nodes it covers: the nodes switched on whose login is
known to work. null for a caller who does not see the whole fleet.
The most concurrency may be.
Whether an MCP client may read configuration text through get_node_config (ADR-210
stage 10 decision 85). Changed with PUT /api/v1/config-mcp-settings.
object
Off by default.
When it finished; null while it is going.
The latest run; null before the first.
A run is going.
The IANA zone of the start time; null means UTC (ADR-221).
When the next run starts; null while one is going.
Examplegenerated
{ "at_hour": 1, "at_minute": 1, "auto_save": { "enabled": true }, "concurrency": 1, "done": 1, "max_concurrency": 1, "mcp_config_text": { "enabled": true }, "run_finished_at": "2026-04-15T12:00:00Z", "run_started_at": "2026-04-15T12:00:00Z", "running": true, "time_zone": "example", "total": 1, "upcoming_start_at": "2026-04-15T12:00:00Z"}No valid bearer token
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
object
Stable machine-readable code. Clients branch on this, never on the message.
Operator-facing sentence. Safe to display; never carries an internal error’s own text.
Examplegenerated
{ "error": { "code": "example", "message": "example" }}This deployment has no write side (skeleton mode)
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
object
Stable machine-readable code. Clients branch on this, never on the message.
Operator-facing sentence. Safe to display; never carries an internal error’s own text.
Examplegenerated
{ "error": { "code": "example", "message": "example" }}