Contentful
Reads the published entries and assets of a Contentful space through the Content Delivery API’s Sync API, so content and customer agents answer from what is actually published. It reads published content only; it never reads drafts and never changes content.
Built against the Contentful Content Delivery API, Sync API.
At a glance
Section titled “At a glance”| Collector | Contentful, version 0.1.0 |
|---|---|
| Reads | Contentful: Contentful Content Delivery API (Sync API) (the vendor's documentation) |
| Family | Knowledge |
| Kind | Cms |
| Ways to connect | Access token |
| Scopes |
|
| Read only | Yes |
| Vendor's API can move money | No |
| Personal data | Content |
| Hosts it may contact | cdn.contentful.com, cdn.eu.contentful.com |
| Vendor API versions | Contentful Content Delivery API: Sync API (initial sync, sync token) |
| Lowest engine version | 0.47.1 |
What it reads
Section titled “What it reads”- Entries: every published entry, with its fields shown in one locale (
locale,en-USby default, falling back to the first locale a field has). Rich text is flattened to its text; links to other entries and assets are shown by id. The title is the first oftitle,name,headline,heading,labelorslug. - Assets: title, description and file details (name, type, size, image dimensions). The file itself is not downloaded; its delivery address is kept as the record’s link.
- The first run is an initial sync of the whole space (or environment); later runs send the sync token from the last run and receive only what changed. An entry or asset that is unpublished or deleted is withdrawn.
content_typeskeeps only entries of the content types named.- Never read: drafts (the Preview API), the Content Management API, content type definitions, users and roles.
How to connect
Section titled “How to connect”- In Contentful, open Settings, API keys, add an API key for the space and copy its Content Delivery API access token. Limit it to the environment to read.
- In LightHouse, open Connectors, choose Contentful, give the space id, the environment (or leave it empty for the default), the data residency (
usoreu), the locale, a label and how often to read, and paste the token. - In code, give the deployment the token as
CONTENTFUL_DELIVERY_TOKENfrom your secret store and add akind: contentfulsource card withspace_id,environment,locale,labelandrequires.token_envchanges the variable name;content_typesandbody_charsnarrow what is kept.
Permissions
Section titled “Permissions”A Content Delivery API token only. It reads published content and cannot write; a Content Management or Preview token is not needed and should not be given. The collector sends only GET requests to the delivery host, with the token as a Bearer credential. Its read-only test proves it on every change.
Limits
Section titled “Limits”regionisus(cdn.contentful.com) oreu(cdn.eu.contentful.com); no other host is contacted, and a redirect to another host is refused.- An initial sync reads 100 items a page;
max_pages(500) stops a run before a very large space becomes an unbounded read, and fails it rather than keeping part of a sync as if it were all of it. - If Contentful refuses the saved sync token, the collector starts an initial sync again; anything deleted while the token was refused is then not withdrawn.
- One locale is shown per record. Name the locale your agents answer in.
- Entry bodies are kept to 20,000 characters (
body_chars). - Requests are paced and back off when Contentful asks (
Retry-After); requests served from Contentful’s cache do not count against its rate limit.
Data handling
Section titled “Data handling”- Published field values, asset titles and descriptions are copied into the deployment’s corpus under the source’s
label. Published content can name people (authors, staff profiles); the label should match how the content is published. - Drafts and unpublished content are never read.
- The token stays in your secret store and is never written to logs or run notes; it is sent only to the delivery host.
- Nothing leaves the deployment: only counts reach LightHouse.
Troubleshooting
Section titled “Troubleshooting”| What you see | What it means | What to do |
|---|---|---|
space_id is the Contentful space id |
space_id is empty or malformed |
Copy the space id from Settings, General settings |
region is 'us' or 'eu' |
region names another residency |
Use the space’s data residency |
credential variable 'CONTENTFUL_DELIVERY_TOKEN' is not set |
The token variable is empty | Set it from your secret store |
HTTP 401 |
The token is revoked, or not a delivery token | Copy the Content Delivery API token |
HTTP 404 on the first read |
The space or environment id is wrong, or the token is not granted it | Check the ids and the token’s environments |
raise max_pages |
The initial sync ran past max_pages |
Raise max_pages |
| Read succeeded, 0 written | Nothing changed since the last read | Nothing to do |
Certification
Section titled “Certification”Each entry is a run by Atlantic Agentic Labs, newest first. Only a run against the vendor’s sandbox or a client environment certifies a collector; a certification lasts six months, or less if the vendor publishes an API version the collector does not list. See How collectors are certified.
| Date | Collector | Engine | Vendor API | Method | Expires |
|---|---|---|---|---|---|
| 21 November 2026 | 0.1.0 | 0.47.1 | Content Delivery API: Sync API | Fixtures only: built, not certified | Not applicable |
Security posture
Section titled “Security posture”From the collector’s last scan on the default branch. What each line means, and what blocks a release: Security posture.
| Last scanned | 25 November 2026 |
|---|---|
| Critical findings | 0 |
| High findings | 0 |
| Medium findings | 0 |
| Low findings | 0 |
| Info findings | 0 |
| Release blocked | No |
| Network allow-list check | Pass |
| Read-only behavioural test | Pass |
| SBOM (CycloneDX) | Produced |
| Dependency licences | Pass |
| Scanners | bandit 1.9.4, semgrep 1.181.1, pip-audit 2.10.1, osv-scanner 2.7.0, cyclonedx-py 7.5.0, pip-licenses 5.5.5, gitleaks repository job aal-secrets, hosts_check tools/hosts_check.py, read-only test pytest -m read_only |