Skip to content
Proud to collaborate with Microsoft for Startups

apphost.site.get ​

Fetch a single hosted site (by site_uuid or identity_app_uuid) with its serving URL

Get one HostedSite by site_uuid or identity_app_uuid, org-scoped.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-apphost
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Org that owns the site; rows outside it read as not found
site_uuiduuidNo—Lookup by hosted_site uuid (this or identity_app_uuid is required)
identity_app_uuiduuidNo—Lookup by the identity app the site authenticates against

Output Schema ​

FieldTypeRequiredDefaultDescription
sitejsonNo—Site projection — uuids, slug, mode, url, active_release_uuid, timestamps
foundbooleanNo——
errorstringNo——
error_typestringNo—Error-as-field envelope populated when query() raises.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
doneYesYesYes——

Outcomes ​

OutcomeTypeDescriptionState Data Keys
readSUCCESSHosted site projection returnedsite_uuid
failedFAILUREApphost workflow failedfailure_reason

API Usage ​

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

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