Skip to content
Proud to collaborate with Microsoft for Startups

data.appdata.structure.query ​

List appdata databases, tables, and fields for an identity app

List the applied appdata databases, tables, and fields for an identity app.

Operator/discovery surface for the console: given an organization and an identity app it returns the declared virtual structure so a UI can prefill searchable database/table pickers, build field-aware record forms, and expose indexed-field filters. Read-only — never mutates metadata.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-appdata
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Authenticated organization UUID
identity_app_uuiduuidYes—Identity app UUID owning the data
database_slugstringNo—Optional single-database filter
include_fieldsbooleanNoTrueInclude field descriptors
request_idstringNo—Caller request id for audit correlation
actorstringNo—Workflow caller or agent identifier

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Organization UUID echoed from input
identity_app_uuiduuidYes—Identity app UUID echoed from input
databaseslistYes—Virtual databases (slug, name, status)
tableslistYes—Virtual tables keyed by database + table slug
fieldslistYes—Virtual field descriptors (empty when include_fields is false)
database_countintegerYes—Number of databases returned
table_countintegerYes—Number of tables returned
field_countintegerYes—Number of fields returned
errorstringNo—Error message when the read failed
error_typestringNo—Error class name when the read failed

States ​

StateInitialTerminalSuccessAuto-advanceDescription
doneYesYesYes——

Outcomes ​

OutcomeTypeDescriptionState Data Keys
queriedSUCCESSList appdata databases, tables, and fields for an identity appdatabase_count, table_count, field_count
failedFAILUREAppdata workflow failedfailure_reason

API Usage ​

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

{
  "workflow_type": "data.appdata.structure.query",
  "initial_data": {
    "organization_uuid": "value",
    "identity_app_uuid": "value"
  }
}