Skip to content
Proud to collaborate with Microsoft for Startups

agents._session-launch.validate-create ​

Validate agent config and create AgentSession in PENDING status

Validate the agent config, check concurrency, create AgentSession (PENDING), open Lumen trace.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-agents
Version1.0

Triggers ​

SourceEndpoint / EventDescription
INTERNALdag.stepInternal step — invoked by the agents.session-launch DAG

Input Schema ​

FieldTypeRequiredDefaultDescription
workflow_run_uuidstringNo—DAG-stamped parent run id (auto-injected by the engine)
workflow_run_idstringNo——
agent_config_uuidstringYes——
organization_uuidstringYes——
actor_uuidstringNo——
act_as_identity_app_uuidstringNo—ADR-IDENTITY-010 session mode: run this Staff actor session as the actor's own end-user seat in this identity app
ticket_git_work_uuidstringNo——
ticket_uuidstringNo——
repository_uuidstringNo——
branch_refstringNo——
target_refstringNo——
base_oidstringNo——
head_oidstringNo——
taskstringYes——
contextdictNo——
caller_refstringNo——
attachment_uuidslistNo——
include_platform_defaultsbooleanNo——
refresh_stale_mcpbooleanNo——
max_tool_roundsintegerNo——
max_parallel_tool_callsintegerNo——
safe_retry_resume_noncestringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
agent_config_uuidjsonNo——
actor_uuidjsonNo——
act_as_identity_app_uuidjsonNo——
ticket_git_work_uuidjsonNo——
ticket_uuidjsonNo——
repository_uuidjsonNo——
branch_refjsonNo——
target_refjsonNo——
base_oidjsonNo——
head_oidjsonNo——
ai_connection_uuidjsonNo——
attachment_uuidsjsonNo——
config_snapshotjsonNo——
skill_package_snapshotjsonNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——
failed_at_statestringNo——
failed_layerjsonNo——
failed_stepstringNo——
failure_reasonstringNo——
capacity_deferredbooleanNo——
capacity_deferred_atstringNo——
capacity_deferred_reasonstringNo——
capacity_blocker_codeslistNo——
capacity_active_countintegerNo——
capacity_limitintegerNo——
capacity_retry_countintegerNo——
capacity_backoff_secondsintegerNo——
runner_group_uuidjsonNo——
session_uuidjsonNo——
workflow_run_uuidjsonNo——
workflow_run_idstringNo——
organization_uuidjsonNo——
taskjsonNo——
contextjsonNo——
caller_refjsonNo——
include_platform_defaultsbooleanNo——
max_parallel_tool_callsintegerNo——
max_tool_roundsintegerNo——
refresh_stale_mcpbooleanNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—run—
runNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedrunrun—
runcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "agents._session-launch.validate-create",
  "initial_data": {
    "agent_config_uuid": "value",
    "organization_uuid": "value",
    "task": "value"
  }
}