Skip to content
Proud to collaborate with Microsoft for Startups

appdata.schema.introspect ​

Read an app's live serving schema: relations, columns, indexes, constraints, policies, functions and sizes

Read the app's live tables, views, columns, indexes, policies and functions.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-appdata
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
identity_app_uuiduuidYes—The app whose live schema to read
include_base_tablesbooleanNo—Include the t base tables (default true)

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
identity_app_uuiduuidYes——
backend_kindstringYes——
schemastringYes——
server_versionstringNo——
total_bytesintegerNo——
relation_countintegerNo——
relationslistNo——
functionslistNo——
generated_atstringNo——
errorstringNo—Error message when the read failed
error_typestringNo—Error class name when the read failed

States ​

StateInitialTerminalSuccessAuto-advanceDescription
doneYesYesYes——

Outcomes ​

OutcomeTypeDescriptionState Data Keys
introspectedSUCCESSRead an app's live serving schema: relations, columns, indexes, constraints, policies, functions and sizesschema, relation_count
failedFAILUREAppdata workflow failedfailure_reason

API Usage ​

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

{
  "workflow_type": "appdata.schema.introspect",
  "initial_data": {
    "organization_uuid": "value",
    "identity_app_uuid": "value"
  }
}