Admin API (Dashboard & Team) Schema & Components
Create a post type
/admin-api/v1/sites/{siteSlug}/post-types Creates a new collection or singleton post type. Requires schema:manage capability.
Authentication
- overtcms_access cookie
SessionCookieHttpOnly SameSite=Lax access token cookie issued by login/setup/refresh. State-changing requests (
POST,PATCH,PUT,DELETE) authenticated via cookie must also send a matching same-originOriginheader for CSRF protection. - Bearer token
BearerJWTHuman Admin access JWT returned by login/setup/refresh/step-up. Agent API keys (
ocms_...) are rejected on the Admin Plane.
Path parameters
-
siteSlugstring requiredSite slug.
Headers
-
OriginstringSame-origin header required by CSRF protection on state-changing requests authenticated viaovertcms_accesscookie.
Request body application/json required
-
capabilitiesPostTypeCapabilitiesShow 5 fields Hide
-
deleteboolean requiredDefault true
-
draftboolean requiredDefault true
-
localizeboolean requiredDefault false
-
publishboolean requiredDefault true
-
scheduleboolean requiredDefault true
-
-
displayFieldstringExample title
-
fieldsarray of FieldDefinition requiredShow 21 fields Hide
-
aiWritablebooleanDefault true
-
constraintsFieldConstraintsTyped validation and structural constraints covering all 19 canonical OvertCMS field types.Show 51 fields Hide
-
allowChecklistsboolean -
allowCustomboolean -
allowEmbedsboolean -
allowInlineMediaboolean -
allowRelativeboolean -
allowedBlocksarray of string -
allowedComponentsarray of string -
allowedHostsarray of string -
allowedMarksarray of string -
allowedMimeTypesarray of string -
allowedSchemesarray of string -
aspectRatiostringExample 16:9
-
componentRefstring -
disallowH1boolean -
disallowHtmlboolean -
fieldsarray of FieldDefinition -
formatstringAllowed:
plainemailcolorDefault plain
-
integerboolean -
integritystringAllowed:
strongweakDefault strong
-
jsonSchemaobject -
lengthUnitstringAllowed:
graphemesutf16Default graphemes
-
maxnumber -
maxBytesinteger, int64min 1
-
maxDatestring, date -
maxDateTimestring, date-time -
maxDurationMsinteger, int64min 1
-
maxItemsintegermin 1
-
maxLengthintegermin 1
-
maxLinesintegermin 1
-
maxTimestringExample 17:00:00
-
maxWordsintegermin 1
-
minnumber -
minDatestring, date -
minDateTimestring, date-time -
minHeightintegermin 1
-
minItemsintegermin 0
-
minLengthintegermin 0
-
minTimestringExample 09:00:00
-
minWidthintegermin 1
-
minWordsintegermin 0
-
multipleboolean -
ofListItemSpecElement schema of a list field.Show 5 fields Hide
-
componentRefstring -
constraintsFieldConstraintsSame shape as its parent FieldConstraints.
-
fieldsarray of FieldDefinition -
typestringAllowed:
stringtextslugrich_htmlnumberbooleandatedatetimetimeurlselectreferenceimageaudiovideofileobjectlistjson -
variantsarray of ListVariant
-
-
optionsarray of SelectOptionShow 3 fields Hide
-
instructionstringExample Use for technical architecture deep-dives.
-
labelstring requiredExample Engineering
-
valuestring requiredExample engineering
-
-
patternstring -
precisionintegermin 0
-
requireAltboolean -
stepnumber -
strictnessstringAllowed:
strictsanitizeDefault strict
-
targetsarray of string -
trimboolean -
uniqueItemsboolean
-
-
defaultValueany -
deprecatedbooleanDefault false
-
descriptionstringmax length 500
-
fieldIdstring, uuidImmutable UUIDv7 assigned by the server. -
filterablebooleanDefault false
-
instructionstringmax length 2000, Example Concise, punchy headline under 80 characters.
-
keystring requiredExample title
-
labelstring requiredExample Title
-
localizedbooleanDefault false
-
readOnlybooleanDefault false
-
replacedBystring -
requiredbooleanExample true
-
requiredOnstringAllowed:
draftpublishDefault publish
-
searchEndpointstring read onlyPopulated automatically on reference fields.Example /agent/v1/collections/posts/fields/author/options
-
sortablebooleanDefault false
-
typestring requiredAllowed:
stringtextslugrich_htmlnumberbooleandatedatetimetimeurlselectreferenceimageaudiovideofileobjectlistjsonExample string
-
uiFieldUICosmetic authoring UI hints (excluded from schema fingerprints).Show 4 fields Hide
-
groupstringExample SEO
-
orderintegerExample 10
-
placeholderstringExample Write a concise headline...
-
widthstringExample full
-
-
uniquebooleanDefault false
-
writablebooleanDefault true
-
-
instructionstringExample Editorial blog posts.
-
kindstringAllowed:
collectionsingletonDefault collection
-
pluralNamestring requiredExample Posts
-
singularNamestring requiredExample Post
-
slugstring requiredExample posts
-
slugSourceFieldstringExample title
-
urlTemplatestringExample /blog/{slug}
Responses
-
201 Post type created.
application/json
-
postTypePostType requiredDefines a collection or singleton content schema for a site.Show 16 fields Hide
-
capabilitiesPostTypeCapabilities requiredShow 5 fields Hide
-
deleteboolean requiredDefault true
-
draftboolean requiredDefault true
-
localizeboolean requiredDefault false
-
publishboolean requiredDefault true
-
scheduleboolean requiredDefault true
-
-
createdAtstring, date-time required -
displayFieldstringExample title
-
fieldsarray of FieldDefinition requiredShow 21 fields Hide
-
aiWritablebooleanDefault true
-
constraintsFieldConstraintsTyped validation and structural constraints covering all 19 canonical OvertCMS field types.Show 51 fields Hide
-
allowChecklistsboolean -
allowCustomboolean -
allowEmbedsboolean -
allowInlineMediaboolean -
allowRelativeboolean -
allowedBlocksarray of string -
allowedComponentsarray of string -
allowedHostsarray of string -
allowedMarksarray of string -
allowedMimeTypesarray of string -
allowedSchemesarray of string -
aspectRatiostringExample 16:9
-
componentRefstring -
disallowH1boolean -
disallowHtmlboolean -
fieldsarray of FieldDefinition -
formatstringAllowed:
plainemailcolorDefault plain
-
integerboolean -
integritystringAllowed:
strongweakDefault strong
-
jsonSchemaobject -
lengthUnitstringAllowed:
graphemesutf16Default graphemes
-
maxnumber -
maxBytesinteger, int64min 1
-
maxDatestring, date -
maxDateTimestring, date-time -
maxDurationMsinteger, int64min 1
-
maxItemsintegermin 1
-
maxLengthintegermin 1
-
maxLinesintegermin 1
-
maxTimestringExample 17:00:00
-
maxWordsintegermin 1
-
minnumber -
minDatestring, date -
minDateTimestring, date-time -
minHeightintegermin 1
-
minItemsintegermin 0
-
minLengthintegermin 0
-
minTimestringExample 09:00:00
-
minWidthintegermin 1
-
minWordsintegermin 0
-
multipleboolean -
ofListItemSpecElement schema of a list field.Show 5 fields Hide
-
componentRefstring -
constraintsFieldConstraintsSame shape as its parent FieldConstraints.
-
fieldsarray of any -
typestringAllowed:
stringtextslugrich_htmlnumberbooleandatedatetimetimeurlselectreferenceimageaudiovideofileobjectlistjson -
variantsarray of any
-
-
optionsarray of SelectOption -
patternstring -
precisionintegermin 0
-
requireAltboolean -
stepnumber -
strictnessstringAllowed:
strictsanitizeDefault strict
-
targetsarray of string -
trimboolean -
uniqueItemsboolean
-
-
defaultValueany -
deprecatedbooleanDefault false
-
descriptionstringmax length 500
-
fieldIdstring, uuidImmutable UUIDv7 assigned by the server. -
filterablebooleanDefault false
-
instructionstringmax length 2000, Example Concise, punchy headline under 80 characters.
-
keystring requiredExample title
-
labelstring requiredExample Title
-
localizedbooleanDefault false
-
readOnlybooleanDefault false
-
replacedBystring -
requiredbooleanExample true
-
requiredOnstringAllowed:
draftpublishDefault publish
-
searchEndpointstring read onlyPopulated automatically on reference fields.Example /agent/v1/collections/posts/fields/author/options
-
sortablebooleanDefault false
-
typestring requiredAllowed:
stringtextslugrich_htmlnumberbooleandatedatetimetimeurlselectreferenceimageaudiovideofileobjectlistjsonExample string
-
uiFieldUICosmetic authoring UI hints (excluded from schema fingerprints).Show 4 fields Hide
-
groupstringExample SEO
-
orderintegerExample 10
-
placeholderstringExample Write a concise headline...
-
widthstringExample full
-
-
uniquebooleanDefault false
-
writablebooleanDefault true
-
-
idstring, uuid required -
instructionstringExample Long-form technical articles for the engineering blog.
-
kindstring requiredAllowed:
collectionsingletonExample collection
-
pluralNamestring requiredExample Posts
-
schemaFingerprintstring requiredExample sha256:3c9e14a8f10d4b7c9f44a0d5c8b6e12a
-
schemaVersioninteger requiredExample 2
-
singularNamestring requiredExample Post
-
siteIdstring, uuid required -
slugstring requiredExample posts
-
slugSourceFieldstringExample title
-
updatedAtstring, date-time required -
urlTemplatestringExample /blog/{slug}
-
-
-
401 Unauthenticated — missing or expired session cookie / JWT (API keys are rejected).
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 Forbidden — insufficient RBAC role capability, CSRF Origin mismatch, post-type restriction, or step-up MFA required.
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
-
-
-
409 Conflict — optimistic lock mismatch, uniqueness conflict, breaking change confirmation required, or strong references.
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
-
-
-
422 Validation error with field-level issues.
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
-
-