data.runner.execution-logs-tail ​
Tail the most recently synced log events for a runner execution
Return tail of cached log events for a runner execution.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-runners |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | UUID of the caller's organization, injected server-side from the authenticated request; scopes the operation to the correct tenant. |
runner_execution_uuid | uuid | Yes | — | UUID of the RunnerExecution to tail logs for, picked from the organization's (optionally group-scoped) list of executions. |
tail | integer | No | 200 | — |
since | integer | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
events | list | No | [] | — |
count | integer | No | 0 | — |
log_group_name | string | No | — | — |
log_stream_name | string | No | — | — |
last_log_sync_at | string | No | — | — |
runner_execution_uuid | uuid | No | — | RunnerExecution UUID echoed from input. |
organization_uuid | uuid | No | — | Organization UUID echoed from input. |
found | boolean | No | — | False when the requested record was not found. |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
done | Yes | Yes | Yes | — | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "data.runner.execution-logs-tail",
"initial_data": {
"organization_uuid": "value",
"runner_execution_uuid": "value"
}
}