Cosmic · Schema
ObjectCreate
CompanyHeadless CMSContent ManagementContent APIAI AgentsMCPWebhookJAMstack
Properties
| Name | Type | Description |
|---|---|---|
| title | string | |
| type | string | Object type slug. The type must already exist. |
| slug | string | Derived from `title` when omitted. |
| status | string | |
| content | string | |
| metadata | object | |
| thumbnail | string | Media `name`. The media must already exist in the Bucket. |
| locale | string | |
| publish_at | stringnumber | UNIX millisecond timestamp. |
| unpublish_at | stringnumber | UNIX millisecond timestamp. |
| trigger_webhook | boolean | Fire the corresponding Object webhook. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/cosmicjs-com/json-schema/cosmicjs-com-object-create-schema.json",
"title": "ObjectCreate",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/cosmicjs-com-openapi.yml#/components/schemas/ObjectCreate",
"type": "object",
"required": [
"title",
"type"
],
"properties": {
"title": {
"type": "string"
},
"type": {
"type": "string",
"description": "Object type slug. The type must already exist."
},
"slug": {
"type": "string",
"description": "Derived from `title` when omitted."
},
"status": {
"type": "string",
"enum": [
"published",
"draft"
]
},
"content": {
"type": "string",
"deprecated": true
},
"metadata": {
"$ref": "#/$defs/Metadata"
},
"thumbnail": {
"type": "string",
"description": "Media `name`. The media must already exist in the Bucket."
},
"locale": {
"type": "string"
},
"publish_at": {
"type": [
"string",
"number"
],
"description": "UNIX millisecond timestamp."
},
"unpublish_at": {
"type": [
"string",
"number"
],
"description": "UNIX millisecond timestamp."
},
"trigger_webhook": {
"type": "boolean",
"description": "Fire the corresponding Object webhook."
}
},
"additionalProperties": false,
"$defs": {
"Metadata": {
"type": "object",
"description": "Values of the Metafields defined on the Object type, keyed by Metafield `key`.\n\nThe value shape follows the Metafield type, and differs between write and read for two of them:\n\n- Text, textarea, markdown, and HTML Metafields are strings. Number Metafields are numbers, switches are booleans, dates are ISO 8601 strings.\n- Object Relationship Metafields are written as an Object `id` string (or an array of ids for the multiple variant) and returned as a nested Object (or array of Objects) once `depth` is at least 1.\n- File and Image Metafields are written as a media `name` string (or an array of names) and returned as an object with `url` and `imgix_url`, plus `alt_text`, `width`, and `height` when requested via `props`.\n- Repeater Metafields are arrays of objects keyed by the child Metafield keys.",
"additionalProperties": true
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cosmicjs-com-object-create"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.