Get a Trail run and its independent action results
Return one Trail run and its action runs. The response contains the immutable trigger snapshot, aggregate status, action configuration snapshots, outputs, errors, and linked Robot resources.
Return one Trail run and its action runs. The response contains the immutable trigger snapshot, aggregate status, action configuration snapshots, outputs, errors, and linked Robot resources.
storyden-session<token>trail_id*stringA unique identifier for this resource.
xidrun_id*stringA unique identifier for this resource.
xidTrail run retrieved.
application/json- response
id*IdentifierA unique identifier for this resource.
xidcreatedAt*stringThe time the resource was created.
date-timeupdatedAt*stringThe time the resource was updated.
date-timedeletedAt?stringThe time the resource was soft-deleted.
date-timemisc?Arbitrary extra data stored with the resource.
trail_id*IdentifierA unique identifier for this resource.
xidtrigger?status*TrailRunStatus"queued""running""completed""attention_required""cancelled""skipped"scheduled_for?stringdate-timeactions*array<>finished_at?stringdate-timecurl -X GET 'https://example.com/api/trails/string/runs/string'{ "id": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z", "misc": {}, "trail_id": "string", "trigger": { "trail_id": "string", "trail_run_id": "string", "kind": "scheduled", "trigger": { "type": "schedule", "schedule": { "start": "string", "timezone": "string", "rule": { "frequency": "hourly", "interval": 1, "by_weekday": [ "monday" ], "by_month": [ 1 ], "by_month_day": [ -31 ], "count": 1 } } }, "scheduled_for": "2019-08-24T14:15:22Z", "observed_at": "2019-08-24T14:15:22Z", "initiated_by": "string", "payload": null }, "status": "queued", "scheduled_for": "2019-08-24T14:15:22Z", "actions": [ { "id": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z", "misc": {}, "action": { "id": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "deletedAt": "2019-08-24T14:15:22Z", "misc": {}, "action": { "type": "robot_run", "robot_ref": "string", "instruction": "string" } }, "status": "queued", "output": null, "target": { "type": "robot_run", "robot_session_id": "string", "output": { "status": "completed", "summary": "string", "attention": { "reason": "string", "message": "string" } } }, "error": "string", "started_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z" } ], "finished_at": "2019-08-24T14:15:22Z"}List Trails GET
Return all Trail definitions that the requesting account can manage. Each item includes its trigger, action bindings, lifecycle state, and latest occurrence times. Archived Trails remain in the result.
List Trail run history GET
Return the 100 most recent runs for one Trail. Each run contains an immutable trigger snapshot and the independent result of every action binding. The result includes scheduled, manual, and skipped runs.