agents._session-launch.launch-runner ​
Start the runner execution workflow and mark the session as RUNNING
Build the runner environment, start runners.execution-launch, and mark RUNNING.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-agents |
| Version | 1.0 |
Triggers ​
| Source | Endpoint / Event | Description |
|---|---|---|
| INTERNAL | dag.step | Internal step — invoked by the agents.session-launch DAG |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
workflow_run_uuid | string | No | — | DAG-stamped parent run id (auto-injected by the engine) |
workflow_run_id | string | No | — | — |
session_uuid | string | Yes | — | — |
agent_config_uuid | string | Yes | — | — |
actor_uuid | string | No | — | — |
ticket_git_work_uuid | string | No | — | — |
ticket_uuid | string | No | — | — |
repository_uuid | string | No | — | — |
branch_ref | string | No | — | — |
target_ref | string | No | — | — |
base_oid | string | No | — | — |
head_oid | string | No | — | — |
runner_group_uuid | string | No | — | — |
organization_uuid | string | Yes | — | — |
skills | list | No | — | — |
mcp_servers | list | No | — | — |
serialized_memory | string | No | — | — |
config_snapshot | dict | No | — | — |
task | string | Yes | — | — |
attachment_uuids | list | No | — | — |
tool_catalog | list | No | — | — |
tool_routing | dict | No | — | — |
tool_catalog_hash | string | No | — | — |
max_tool_rounds | integer | No | — | — |
max_parallel_tool_calls | integer | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
error | string | No | — | — |
error_type | string | No | — | — |
failed_at | string | No | — | — |
failed_at_state | string | No | — | — |
failed_layer | json | No | — | — |
failed_step | string | No | — | — |
failure_reason | string | No | — | — |
capacity_deferred | boolean | No | — | — |
capacity_deferred_at | string | No | — | — |
capacity_deferred_reason | string | No | — | — |
capacity_blocker_codes | list | No | — | — |
capacity_active_count | integer | No | — | — |
capacity_limit | integer | No | — | — |
capacity_retry_count | integer | No | — | — |
capacity_backoff_seconds | integer | No | — | — |
runner_workflow_uuid | json | No | — | — |
runner_execution_uuid | json | No | — | — |
devkit_pending | boolean | No | — | — |
planned_git_workflow_uuid | json | No | — | — |
workspace_lease_workflow_uuid | json | No | — | — |
workspace_lease_uuid | json | No | — | — |
delivery_cost_reservation_workflow_uuid | json | No | — | — |
delivery_cost_reservation_uuid | json | No | — | — |
delivery_model_cost_reservation_workflow_uuid | json | No | — | — |
delivery_model_cost_reservation_uuid | json | No | — | — |
delivery_compute_cost_reservation_workflow_uuid | json | No | — | — |
delivery_compute_cost_reservation_uuid | json | No | — | — |
delivery_storage_cost_quote_workflow_uuid | json | No | — | — |
delivery_storage_cost_quote | json | No | — | — |
delivery_storage_cost_reservation_workflow_uuid | json | No | — | — |
delivery_storage_cost_reservation_uuid | json | No | — | — |
ticket_git_work_uuid | json | No | — | — |
ticket_uuid | json | No | — | — |
repository_uuid | json | No | — | — |
branch_ref | json | No | — | — |
target_ref | json | No | — | — |
base_oid | json | No | — | — |
head_oid | json | No | — | — |
session_uuid | json | No | — | — |
workflow_run_uuid | json | No | — | — |
workflow_run_id | string | No | — | — |
runner_group_uuid | json | No | — | — |
agent_config_uuid | json | No | — | — |
actor_uuid | json | No | — | — |
organization_uuid | json | No | — | — |
skills | json | No | — | — |
mcp_servers | json | No | — | — |
serialized_memory | json | No | — | — |
config_snapshot | json | No | — | — |
task | json | No | — | — |
attachment_uuids | json | No | — | — |
tool_catalog | json | No | — | — |
tool_routing | json | No | — | — |
tool_catalog_hash | json | No | — | — |
max_tool_rounds | json | No | — | — |
max_parallel_tool_calls | json | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | run | — |
awaiting_capacity | No | No | — | run | — |
run | No | No | — | complete | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | run | run | — |
awaiting_capacity | run | run | — |
run | defer_capacity | awaiting_capacity | — |
run | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "agents._session-launch.launch-runner",
"initial_data": {
"session_uuid": "value",
"agent_config_uuid": "value",
"organization_uuid": "value",
"task": "value"
}
}