Skip to content
Proud to collaborate with Microsoft for Startups

data.storage.find-by-ref ​

Find StorageObject audit rows tagged with a given session, config, or skill uuid. Pure DB read.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-storage
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes—UUID of the organization whose objects to search
session_uuidstringNo—Filter by ref_session_uuid (mutually exclusive with config_uuid / skill_uuid)
config_uuidstringNo—Filter by ref_config_uuid (mutually exclusive with session_uuid / skill_uuid)
skill_uuidstringNo—Filter by ref_skill_uuid (mutually exclusive with session_uuid / config_uuid)

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes—UUID of the organization whose objects to search
session_uuidstringNo—Filter by ref_session_uuid (mutually exclusive with config_uuid / skill_uuid)
config_uuidstringNo—Filter by ref_config_uuid (mutually exclusive with session_uuid / skill_uuid)
skill_uuidstringNo—Filter by ref_skill_uuid (mutually exclusive with session_uuid / config_uuid)
objectsjsonNo—List of matching StorageObject dicts (UUID-only surface)
failure_reasonstringNo—Engine-stamped human-readable failure reason
failed_atstringNo—ISO timestamp when the workflow failed
failed_at_statestringNo—Engine-stamped state when the workflow failed
failed_stepstringNo—Engine-stamped step name (DAG path)
failed_layerintegerNo—Engine-stamped layer index (DAG path)
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—executeQuerying StorageObject rows by ref UUID
completedNoYesYes—Objects found
failedNoYesNo—Query failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "data.storage.find-by-ref",
  "initial_data": {
    "organization_uuid": "value"
  }
}