Skip to content
Proud to collaborate with Microsoft for Startups

agents.end-user.ask ​

Ask the app's agent a question. Runs a real agent session under the calling end-user's own authority: its tools are exactly the compositions this app exposed to end-users, every tool call is re-authorized, and the answer returns in the terminal state.

Answer an end-user's question with an agent bounded by their app's exposed compositions.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-agents
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——
questionstringYes——
request_idstringNo——
conversation_uuidstringNo—Work the continuation grant is scoped to; defaults to identity_app_uuid

Output Schema ​

FieldTypeRequiredDefaultDescription
answerstringNo——
session_uuidstringNo——
questionstringNo——
launch_workflow_idstringNo——
wait_phasestringNo——
launch_deadline_epochintegerNo——
answer_deadline_epochintegerNo——
wait_poll_countintegerNo——
request_idstringNo——
conversation_uuidstringNo——
continuation_grant_uuidstringNo——
continuation_issue_workflow_idstringNo——
continuation_redeem_workflow_idstringNo——
continuation_tokenstringNo——
continuation_redeemedbooleanNo——
failure_reasonstringNo——
failed_atstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerintegerNo——
errorstringNo——
error_typestringNo——
organization_uuidjsonNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
waitingNoNo———
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutewaiting—
waitingpollwaiting—
waitingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "agents.end-user.ask",
  "initial_data": {
    "organization_uuid": "value",
    "question": "value"
  }
}