Delivery API (Clients) Content
Get a single published entry (or draft preview)
/delivery/v1/{postType}/{idOrSlug} Fetches a single published entry by UUID or slug. Supply a valid single-entry X-Preview-Token header to inspect draftData (preview: true, Cache-Control: private, no-store, zero Surrogate-Key).
Authentication
- Bearer token
BearerApiKeyoptionalOptional scoped API key (
Authorization: Bearer ocms_...) withdelivery:readscope. Required only whenOVERTCMS_DELIVERY_REQUIRE_API_KEY=true. - X-Preview-Token header
PreviewTokenoptionalSingle-entry signed draft preview token (
pv_...) issued by the Agent or Admin plane.
Path parameters
-
postTypestring requiredPost type slug. -
idOrSlugstring requiredEntry UUID or URL slug.
Query parameters
-
localestringLocale code to query (defaults to the site'sdefaultLocale). -
fieldsstringComma-separated list of top-level data field keys to project. -
expandstringComma-separated list of reference field keys to expand inline (batched, zero N+1). -
depthintegerReference expansion depth (0-2; defaults to 1 whenexpandis set, capped at 2).min 0, max 2
-
includestringComma-separated list of derived HTML projections to include forrich_htmlfields (plainText,wordCount,headings,readingTime).
Headers
-
If-None-MatchstringConditional GET validator matching a previously receivedETag. Returns304 Not Modifiedwhen unchanged. -
X-Preview-TokenstringOptional single-entry signed draft preview token (pv_...). Bypasses L2 cache, returnsdraftDatawithpreview: true, setsCache-Control: private, no-store, and omitsSurrogate-Key.
Responses
-
200 Single entry payload.
application/json
-
entryDeliveryEntry requiredRead-only public projection of a published entry (or draft entry when authenticated with a valid X-Preview-Token).Show 10 fields Hide
-
childrenarray of DeliveryEntryNested published children (populated when tree=true on self-referencing post types, max depth 5 / 1000 nodes). -
dataobject required -
idstring, uuid requiredExample 0195c0a1-7e20-7000-8000-000000000099
-
localestring requiredExample en
-
postTypestring requiredExample posts
-
projectionsmap of RichHTMLProjectionMap of rich_html field key to derived projections (populated when include query param is set).Show 4 fields Hide
-
headingsarray of HeadingOutlineShow 3 fields Hide
-
idstring requiredExample three-plane-architecture
-
levelinteger requiredmin 1, max 6, Example 2
-
textstring requiredExample Three-Plane Architecture
-
-
plainTextstringExample OvertCMS separates Delivery, Agent, and Admin traffic.
-
readingTimeintegerEstimated reading time in minutes.Example 2
-
wordCountintegerExample 420
-
-
publicUrlstring requiredExample https://example.com/blog/introducing-overtcms
-
publishedAtstring, date-time nullableExample 2026-05-01T14:00:00Z
-
slugstring requiredExample introducing-overtcms
-
updatedAtstring, date-time requiredExample 2026-05-01T14:30:00Z
-
-
previewbooleanPresent and true only when serving a draft via a valid X-Preview-Token header.Example true
-
-
304 Not Modified — client cached ETag matches the current response.
-
400 Invalid depth or include parameter.
application/json
-
errorAPIError requiredCanonical error payload returned across all OvertCMS planes.Show 6 fields Hide
-
appliedboolean requiredAlways false on 4xx responses, guaranteeing the mutation was not applied.Example false
-
codestring requiredExample validation_error
-
detailsobject -
issuesarray of ValidationIssueShow 7 fields Hide
-
codestring requiredExample max_length
-
constraintobject -
fieldstringExample seoTitle
-
instructionstringExample Keep SEO titles under 60 characters for search snippet display.
-
labelstringExample SEO Title
-
messagestring requiredExample field must be at most 60 graphemes
-
searchEndpointstringExample /agent/v1/collections/posts/fields/author/options
-
-
messagestring requiredExample entry validation failed
-
retryableboolean requiredExample false
-
-
-
401 Invalid API key or preview token.
application/json
-
errorAPIError requiredCanonical error payload returned across all OvertCMS planes.Show 6 fields Hide
-
appliedboolean requiredAlways false on 4xx responses, guaranteeing the mutation was not applied.Example false
-
codestring requiredExample validation_error
-
detailsobject -
issuesarray of ValidationIssueShow 7 fields Hide
-
codestring requiredExample max_length
-
constraintobject -
fieldstringExample seoTitle
-
instructionstringExample Keep SEO titles under 60 characters for search snippet display.
-
labelstringExample SEO Title
-
messagestring requiredExample field must be at most 60 graphemes
-
searchEndpointstringExample /agent/v1/collections/posts/fields/author/options
-
-
messagestring requiredExample entry validation failed
-
retryableboolean requiredExample false
-
-
-
403 API key is not permitted to read this post type.
application/json
-
errorAPIError requiredCanonical error payload returned across all OvertCMS planes.Show 6 fields Hide
-
appliedboolean requiredAlways false on 4xx responses, guaranteeing the mutation was not applied.Example false
-
codestring requiredExample validation_error
-
detailsobject -
issuesarray of ValidationIssueShow 7 fields Hide
-
codestring requiredExample max_length
-
constraintobject -
fieldstringExample seoTitle
-
instructionstringExample Keep SEO titles under 60 characters for search snippet display.
-
labelstringExample SEO Title
-
messagestring requiredExample field must be at most 60 graphemes
-
searchEndpointstringExample /agent/v1/collections/posts/fields/author/options
-
-
messagestring requiredExample entry validation failed
-
retryableboolean requiredExample false
-
-
-
404 Published entry not found.
application/json
-
errorAPIError requiredCanonical error payload returned across all OvertCMS planes.Show 6 fields Hide
-
appliedboolean requiredAlways false on 4xx responses, guaranteeing the mutation was not applied.Example false
-
codestring requiredExample validation_error
-
detailsobject -
issuesarray of ValidationIssueShow 7 fields Hide
-
codestring requiredExample max_length
-
constraintobject -
fieldstringExample seoTitle
-
instructionstringExample Keep SEO titles under 60 characters for search snippet display.
-
labelstringExample SEO Title
-
messagestring requiredExample field must be at most 60 graphemes
-
searchEndpointstringExample /agent/v1/collections/posts/fields/author/options
-
-
messagestring requiredExample entry validation failed
-
retryableboolean requiredExample false
-
-