Skip to content
Proud to collaborate with Microsoft for Startups

apphost.site.list ​

Paginated list of an organization's hosted sites with their serving URLs

List the organization's HostedSites, newest first.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-apphost
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Org whose sites to list; rows outside it are never returned
limitintegerNo50Page size (default 50, capped at 200)
offsetintegerNo0Rows to skip from the newest site (default 0)

Output Schema ​

FieldTypeRequiredDefaultDescription
itemsjsonNo—Site rows — site_uuid, slug, mode, url, active_release_uuid, timestamps
countintegerNo——
totalintegerNo——
limitintegerNo——
offsetintegerNo——
errorstringNo——
error_typestringNo—Error-as-field envelope populated when query() raises.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
doneYesYesYes——

Outcomes ​

OutcomeTypeDescriptionState Data Keys
listedSUCCESSHosted sites returnedcount
failedFAILUREApphost workflow failedfailure_reason

API Usage ​

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

{
  "workflow_type": "apphost.site.list",
  "initial_data": {
    "organization_uuid": "value"
  }
}