apphost.machine.list ​
Paginated list of an organization's hosted Machines
List the organization's hosted Machines, newest first.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-apphost |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
site_uuid | uuid | No | — | Optional filter to one AppHost site |
limit | integer | No | 50 | — |
offset | integer | No | 0 | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
items | json | No | — | — |
count | integer | No | — | — |
total | integer | No | — | — |
limit | integer | No | — | — |
offset | integer | No | — | — |
error | string | No | — | — |
error_type | string | No | — | Error-as-field envelope populated when query() raises. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
done | Yes | Yes | Yes | — | — |
Outcomes ​
| Outcome | Type | Description | State Data Keys |
|---|---|---|---|
listed | SUCCESS | Hosted Machines returned | count |
failed | FAILURE | Apphost workflow failed | failure_reason |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "apphost.machine.list",
"initial_data": {
"organization_uuid": "value"
}
}