List Spaces
contentful.list_spaces
ActionBusiness appsconnection required
Calls the Contentful API with the connection's credentials.
List every space the connection's token can reach.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- Contentful
- Secret shape
- the CMA access token, or {"access_token": "…"}
- Config it needs
- space_id, environment_id, base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
limit How many items to return in one page (1-1000); Contentful defaults to 100. | number | No | — | 1–1000 | — |
skip How many items to skip before this page starts, so pages can be walked. | number | No | — | ≥ 0 | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
items The page of entities Contentful returned. | array | — |
count How many entities are in this page. | number | — |
total How many entities match in total, across all pages. | number | — |
skip How many entities were skipped before this page. | number | — |
limit The page size Contentful applied. | number | — |
{
"count": 0,
"items": [],
"limit": 0,
"skip": 0,
"total": 0
}See List Spaces run in a workflow.
In a technical demo we add the Contentful connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.