Skip to main content
Connect a Contentstack stack once and Gradial can read, search, create, update, publish, and preview entries and assets across content types, branches, and environments from a single flow.
Contentstack’s Content Management API enforces an aggressively low rate limit. Treat the integration as quota-constrained and bias toward narrow, targeted operations. See Operational Notes below.

What You Can Do

Discovery

List content types, describe a single content type and its field shapes, list entries by content type with publish-detail metadata.

Read and search

Read a single entry with linked-entry resolution. Re-inspect stored workspace snapshots without re-querying Contentstack.

Authoring

Create entries (JSON RTE, master locale, custom asset fields, taxonomy). Update entries across locales. Preserve formatting and field-level rules so edits don’t collapse rich content.

Assets

Upload assets and reference the returned asset UIDs in entry payloads.

Publishing

Publish and unpublish entries on explicit request. The skill defaults to draft — entries are not published automatically.

Live-page migration

Capture a source URL, assemble a source brief, discover the target content model, upload assets, create linked entries, and QA via the configured preview URL — end to end in one workflow.

Prerequisites

  • Admin access to your Contentstack stack to generate a Management Token
  • Your stack’s regional CMA host and Stack API Key
  • A Gradial organization Administrator role to complete setup

How to Connect

1

Get your authentication details from Contentstack

  1. Sign in to Contentstack and open the target stack.
  2. Go to Settings → Stack and copy the Stack API Key.
  3. Go to Settings → Tokens → Management Tokens and create a token dedicated to Gradial.
  4. Scope the token to the operations you want available:
    • Read and write on entries, assets, content types, global fields, and taxonomies
    • Publish/unpublish if the agent should be able to push live
    • Branch- and environment-scoped if you want to limit Gradial’s blast radius
  5. Do not grant audit log, roles, stack admin, or token admin scopes — Gradial deliberately excludes those endpoints.
  6. Copy the Management Token.
  7. Confirm which regional CMA host your stack is on:
RegionHost
North America (default)api.contentstack.io
Europeeu-api.contentstack.com
Australiaau-api.contentstack.com
Azure NAazure-na-api.contentstack.com
Azure EUazure-eu-api.contentstack.com
GCP NAgcp-na-api.contentstack.com
GCP EUgcp-eu-api.contentstack.com
Use a dedicated Management Token rather than reusing a developer’s personal token. Gradial stores credentials encrypted and the agent cannot access them.
2

Add the integration in Gradial

  1. In Gradial, go to Settings → Integrations.
  2. Find Contentstack and click + Add.
  3. Fill in the connection details:
FieldValue
Integration NameA display name (e.g., Dell Marketing Stack)
Management API URLYour regional CMA host
Stack API KeyFrom step 2
Management TokenFrom step 2
  1. Click Connect to validate. Gradial probes the CMA and discovers the stack’s branches and environments.
  2. Fill in the stack-specific config:
FieldValue
BranchDefault branch for CMA calls (typically main)
EnvironmentDefault publishing environment (e.g., production)
Page Content Type IDsComma-separated UIDs for page-like content types (e.g., page, article, landing_page)
Preview Base URL (optional)Host serving rendered preview pages
Preview URL Patterns (optional)Per-content-type URL templates — supports {entry.uid}, {entry.locale}, {entry.<fieldName>}
  1. Click Save. Gradial validates the regional host, credentials, and any preview URL patterns at save time.
3

Assign to an Environment

  1. Go to Settings → Environments and select the Gradial Environment where Contentstack should be available.
  2. Add the Contentstack integration to that Environment.
  3. Repeat for any additional Environments.

How It Fits Into Broader Workflows

Use caseHow to use it
Content authoringAuthor Contentstack pages and components from the same Gradial thread that produced the brief, copy, or designs
Live-page migrationsCapture a public source URL, assemble a source brief, discover the target content model, upload assets, and assemble the page as linked entries preserving copy, hierarchy, and links 1:1
Rendered-page QAUse Gradial preview (via the configured preview URL pattern) to QA the actual rendered page, not just JSON
Multi-region stacksOperate safely across NA, EU, AU, Azure, and GCP stacks by configuring the matching CMA host
Example workflow — Port a product page to Contentstack:
  1. Run capture_webpage against the source URL to capture cleaned markdown, content chunks, and images.
  2. Discover the target model by listing content types and reading a nearby existing page as the shape reference.
  3. Upload source images, capturing the returned asset UIDs.
  4. Create referenced block entries first, then the root page entry, preserving section order and asset references.
  5. Re-read the root page and verify against the source brief: sections present, copy 1:1, links mapped, images linked.
  6. Open the Contentstack artifact and confirm the preview URL renders correctly before handing back to the requester.

Operational Notes — Rate Limits

Contentstack’s CMA enforces a notably low rate limit compared to other CMS APIs. Gradial does not currently implement client-side throttling or retry-with-backoff for Contentstack — a 429 from Contentstack surfaces directly as an error.
  • Bias toward narrow, targeted operations: read a single entry by UID rather than listing entire content types when possible.
  • Bulk migrations are quota-fragile: multi-locale writes, mass updates, or migration runs touching many linked blocks can saturate the quota in a single thread. Stage payloads carefully and expect to space work across multiple turns.
  • Asset uploads compound the cost: each upload is its own request. Plan uploads alongside entry creation, not as a separate sweep.
  • Triage 429s manually: if the agent reports a Contentstack 429, pause the workflow rather than retrying immediately.
  • Customer-side quota bumps help: higher Contentstack plans come with higher CMA quotas. Confirm the plan tier supports expected request volume before kicking off bulk migrations.

Security Boundary

Gradial deliberately blocks privileged Contentstack admin operations from the agent surface. The following are not callable through the integration:
  • Audit log, Roles, Stacks, and Token admin endpoints
  • /management_tokens, /delivery_tokens, /roles, /stacks/share, /stacks/transfer_ownership

Support

Contact your Gradial onboarding lead or email [email protected] for help with setup.