reachthingsDocs
EN
Dashboard
Schedule toolslist_schedule_runs
On this page
TOOLscope: devices:read · readOnlyHint

list_schedule_runs

Per-run history of a schedule. outcome: executed (command created; see command.status for the result), skipped (grace period exceeded, cancelled, or changed), blocked (permission, connection, or approval problem), failed. provider_accepted (manufacturer accepted) is not the same as succeeded (device state verified).

Arguments

schedule_idstringrequired

From create_schedule or list_schedules. Schedules are visible only to the agent that created them.

limitinteger · 1–100

Default 20.

Returns

runs[].scheduled_for · claimed_at · finished_atstring

The run's planned time and when the worker handled it.

runs[].outcome · reasonenum · string | null

What the worker did and why.

runs[].commandobject | null

command_id, status, reason_code, verification, next_action of the command this run created.

Request

REQUESTTypeScript ▾
await client.callTool({ name: "list_schedule_runs", arguments: { schedule_id: "sch_7Qp2", limit: 5 } });
RESPONSE · structuredContent
{
  "schedule_id": "sch_7Qp2",
  "runs": [
    { "run_id": "run_01", "scheduled_for": "2026-11-02T23:00:00.000Z", "claimed_at": "2026-11-02T23:00:01.120Z", "finished_at": "2026-11-02T23:00:01.300Z",
      "schedule_version": 1, "outcome": "executed", "reason": null,
      "command": { "command_id": "cmd_9aB1", "status": "succeeded", "reason_code": null,
                   "verification": { "level": "state_observed", "required_level": "state_observed", "provider_status": "accepted", "target_match": "matched", "source": "manufacturer_state", "observed_at": "2026-11-02T23:00:19.000Z", "deadline_at": "2026-11-02T23:00:46.000Z" },
                   "next_action": { "type": "show_result", "message": "Done." } } }
  ]
}

Errors

Errors before a command is created return isError: true with command_id: null. Problems after creation are a command status, not an error. Full list: Errors.

CodeWhenWhat to do
SCHEDULE_NOT_ACCESSIBLEUnknown schedule or not created by this agentCheck the schedule_id
SCHEDULE_NOT_ACCESSIBLE
WhenUnknown schedule or not created by this agent
What to doCheck the schedule_id