Delivery API (Clients) Content
List published entries in a collection
/delivery/v1/{postType} Queries published entries using publishedData only, with strict filter/sort validation, keyset cursor pagination, batched zero-N+1 reference expansion (expand + depth), self-referencing tree assembly (parent + tree), and derived HTML projections (include).
Authentication
- Bearer token
BearerApiKeyoptionalOptional scoped API key (
Authorization: Bearer ocms_...) withdelivery:readscope. Required only whenOVERTCMS_DELIVERY_REQUIRE_API_KEY=true.
Path parameters
-
postTypestring requiredCollection post type 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). -
sortstringSort field with optional leading-for descending (e.g.-publishedAt,createdAt,updatedAt,slug, or any field withsortable: true). Defaults to-publishedAt. -
limitintegerMaximum number of entries to return per page (positive integer; defaults to 20).Default 20, min 1
-
cursorstringOpaque URL-safe base64 keyset pagination cursor from a previous response'snextCursor. -
parentstringFilter by parent entry ID on self-referencing post types. Passrootto return top-level entries where the self-reference is null. -
treebooleanWhentrueon a self-referencing post type, attaches nested publishedchildren(breadth-first, max depth 5, capped at 1000 total nodes).Default false
-
filtermap of map of stringDynamic filter predicates using bracket syntaxfilter[field][op]=value(orfilter[field]=valueforeq). Supported operators:eq,in(comma-separated, max 100),contains,gte,lte. Allowed on system fields (locale,slug,publishedAt,createdAt,updatedAt) and schema fields markedfilterable: true.
Headers
-
If-None-MatchstringConditional GET validator matching a previously receivedETag. Returns304 Not Modifiedwhen unchanged.
Responses
-
200 Paginated list of published entries.
application/json
-
hasMoreboolean requiredExample true
-
itemsarray of DeliveryEntry requiredShow 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 HeadingOutline -
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
-
-
nextCursorstringOpaque URL-safe base64 keyset cursor for the next page.
-
-
304 Not Modified — client cached ETag matches the current response.
-
400 Invalid filter, sort, limit, depth, tree, include, or cursor 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 Unauthorized.
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 Post type 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
-
-