cloudflare.pages.get ​
Get a Cloudflare Pages project and its current deployment status, optionally reading live from the provider.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-cloudflare |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Organization UUID for tenant isolation. |
project_name | string | No | — | Pages project name to look up. |
pages_project_uuid | uuid | No | — | Persisted project row UUID (alternative key). |
connection_uuid | uuid | No | — | Cloudflare connection UUID; required when live=true. |
live | boolean | No | — | Read authoritative state from the provider; default false. |
include_deployments | boolean | No | — | Include recent deployment history; default false. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | No | — | Echoed organization UUID. |
project | json | No | — | Sanitized project record (name, production_branch, latest_deployment_id, status, urls). |
current_deployment | json | No | — | Current production deployment summary. |
deployments | json | No | — | Recent deployments when include_deployments=true. |
source | string | No | — | db or provider. |
failure_reason | string | No | — | Human-readable failure reason. |
failed_at_state | string | No | — | State where failure occurred. |
error | string | No | — | Error message. |
error_type | string | No | — | Error class. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
done | Yes | Yes | Yes | — | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "cloudflare.pages.get",
"initial_data": {
"organization_uuid": "value"
}
}