Skip to content
Proud to collaborate with Microsoft for Startups

dgi.session.get ​

Atomic adapter for dgi.session.get; required by parent workflow specs: dgi.session.restore-active-turn.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-dgi
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
workflow_run_idstringNo—DAG-stamped parent run id.
organization_uuiduuidYes—Organization UUID for tenant isolation.
actorstringNo—User or service actor initiating the workflow.
dry_runbooleanNo—Validate and plan without mutating external resources.
session_uuiduuidYes—DGI session UUID.
conversation_uuiduuidNo—Conversation UUID.
last_seen_event_idstringNo—Last event cursor seen by client.
include_reasoningbooleanNo—Include reasoning trace/history.
dependency_contextjsonNo—Prior DAG step output used by this adapter.

Output Schema ​

FieldTypeRequiredDefaultDescription
statusstringNo—Adapter terminal status.
summaryjsonNo—Adapter output summary.
resource_refsjsonNo—Provider/app resource references produced by adapter.
warningslistNo—Non-fatal adapter warnings.
failure_reasonstringNo—Adapter failure reason.
failed_stepjsonNo—Failed step.
failed_layerjsonNo—Failed layer.
failed_at_statestringNo—Failed at state.
errorstringNo—Error message.
error_typestringNo—Error class.
failed_atstringNo—Failure timestamp.

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": "dgi.session.get",
  "initial_data": {
    "organization_uuid": "value",
    "session_uuid": "value"
  }
}