data.runner.workspace-lease.get ​
Get a workspace lease by lease UUID or runner execution UUID.
Return one organization-scoped provider-blind workspace lease.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-runners |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Authenticated organization; injected by the workflow API. |
workspace_lease_uuid | uuid | No | — | — |
runner_execution_uuid | uuid | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
workspace_lease_uuid | uuid | No | — | — |
organization_uuid | uuid | No | — | — |
actor_uuid | uuid | No | — | — |
agent_session_uuid | uuid | No | — | — |
runner_execution_uuid | uuid | No | — | — |
ticket_uuid | uuid | No | — | — |
ticket_git_work_uuid | uuid | No | — | — |
repository_uuid | uuid | No | — | — |
status | string | No | — | — |
executor_uuid | uuid | No | — | — |
worktree_uuid | uuid | No | — | — |
branch_ref | string | No | — | — |
target_ref | string | No | — | — |
base_oid | string | No | — | — |
head_oid | string | No | — | — |
claimed_at | string | No | — | — |
heartbeat_at | string | No | — | — |
completed_at | string | No | — | — |
failure_reason | string | No | — | — |
extra | dict | No | — | — |
created_at | string | No | — | — |
updated_at | string | No | — | — |
failed_at | string | No | — | — |
outcome | string | No | — | — |
found | boolean | No | — | — |
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.workspace-lease.get",
"initial_data": {
"organization_uuid": "value"
}
}