Skip to content
Proud to collaborate with Microsoft for Startups

identity.end-user.continuation.issue ​

Issue a single-use grant to finish one piece of work as the calling end-user

Issue a continuation grant so an agent can finish this piece of work after the session ends.

Inputs:

  • conversation_uuid: the conversation the work belongs to (required)
  • request_id: the request being continued (required)
  • ttl_seconds: lifetime, default 900, capped at 3600 (optional)

Outputs:

  • token: the opaque handle — returned ONCE, never retrievable again
  • grant_uuid, expires_at, conversation_uuid, request_id

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
conversation_uuidstringYes——
request_idstringYes——
ttl_secondsintegerNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
tokenstringYes——
grant_uuidstringYes——
expires_atstringYes——
conversation_uuidstringNo——
request_idstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
reasonstringNo——

States ​

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

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "identity.end-user.continuation.issue",
  "initial_data": {
    "conversation_uuid": "value",
    "request_id": "value"
  }
}