List Entries
strapi.list_entries
ActionBusiness appsconnection required
Calls the Strapi API with the connection's credentials.
Fetch one page of a content type's entries, with Strapi's filters, field selection, relation population, sort and pagination.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Strapi
- Secret shape
- the API token, or {"api_token": "…"}
- Config it needs
- base_url, collection
- Resolved by
- config.connection_id, else node.connection_id
Configuration
9 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 |
|---|---|---|---|---|---|
collection Plural API ID of the content type, as it appears in the URL, e.g. articles. Overrides the default content type on the connection. | string | No | — | — | articles |
filters Strapi filter object, e.g. {"title": {"$eq": "Hello"}}. It is encoded into Strapi's bracket query syntax for you. | object | No | — | — | {"title":{"$eq":"Hello world"}} |
fields Comma-separated field names to return. Empty returns every non-relational field. | string | No | — | — | title,slug |
populate Relations, media, components and dynamic zones to include: '*' for one level, or a comma-separated list of relation names. Empty returns none of them. | string | No | — | — | * |
sort Comma-separated sort keys, each optionally suffixed with :asc or :desc, e.g. createdAt:desc. | string | No | — | — | createdAt:desc |
page Which page of entries to fetch, counting from 1. | number | No | — | ≥ 1 | — |
page_size How many entries to return in this page. Strapi defaults to 25. | number | No | — | ≥ 1 | — |
status Which draft-and-publish version to act on. Strapi 5 only; leave unset for Strapi's own default of published. | string | No | — | one of "published", "draft" | — |
locale Locale code to act in, e.g. fr. Leave empty for the default locale. | string | No | — | — | fr |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"collection": "articles",
"fields": "title,slug",
"filters": {
"title": {
"$eq": "Hello world"
}
},
"locale": "fr",
"populate": "*",
"sort": "createdAt:desc"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
entries The entries on this page, in Strapi's order. | array | — |
count How many entries this page returned. | number | — |
total How many entries match in total. | number | — |
page The page number Strapi reported. | number | — |
page_size How many entries per page Strapi used. | number | — |
page_count How many pages the result has in total. | number | — |
pagination Strapi's own pagination object, verbatim. | object | — |
meta Strapi's own meta object for this response. | object | — |
collection The content type the entries came from. | string | — |
{
"collection": "",
"count": 0,
"entries": [],
"meta": {},
"page": 0,
"page_count": 0,
"page_size": 0,
"pagination": {},
"total": 0
}Related Strapi nodes
See List Entries run in a workflow.
In a technical demo we add the Strapi connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.