Skip to content
Proud to collaborate with Microsoft for Startups

appdata.query.list ​

List saved queries and folders for an app, scoped to what the caller may see

Saved queries this person can see: their own, plus the org-shared ones.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-appdata
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
identity_app_uuiduuidYes——
actor_user_uuiduuidNo—Platform user this query belongs to; authorship and private visibility key off it
folder_uuiduuidNo——
searchstringNo——
limitintegerNo——
offsetintegerNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
identity_app_uuiduuidYes——
querieslistNo——
folderslistNo——
query_countintegerNo——
totalintegerNo——
errorstringNo—Error message when the read failed
error_typestringNo—Error class name when the read failed

States ​

StateInitialTerminalSuccessAuto-advanceDescription
doneYesYesYes——

Outcomes ​

OutcomeTypeDescriptionState Data Keys
listedSUCCESSList saved queries and folders for an app, scoped to what the caller may seequery_count, total
failedFAILUREAppdata workflow failedfailure_reason

API Usage ​

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

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