Skip to content
Proud to collaborate with Microsoft for Startups

agents._session-launch.fetch-secrets ​

Validate AI provider credentials are decryptable for the session

Preflight the AI provider CloudConnection — confirm api_key is decryptable.

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——
ai_connection_uuidstringYes——
organization_uuidstringYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
errorstringNo——
error_typestringNo——
failed_atstringNo——
failed_at_statestringNo——
failed_layerjsonNo——
failed_stepstringNo——
failure_reasonstringNo——
provider_credentials_validjsonNo——
workflow_run_uuidjsonNo——
workflow_run_idstringNo——
ai_connection_uuidjsonNo——
organization_uuidjsonNo——

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.fetch-secrets",
  "initial_data": {
    "ai_connection_uuid": "value",
    "organization_uuid": "value"
  }
}