Documentation Index Fetch the complete documentation index at: https://docs.metabind.ai/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Request Body
ID of the ContentType to use
Display name for the content
Structured markdown description for semantic search
Whether this content should serve as a template
The content data following the ContentType’s schema
Tags for categorization and filtering
Folder ID for organization
Additional metadata Content locale (e.g., “en-US”)
Example Request
{
"typeId" : "ct123" ,
"name" : "Getting Started Guide" ,
"description" : "Getting Started with Metabind. A comprehensive guide for new users. \n\n **Topics:** Technology, Platform Overview \n **Key points:** Platform basics, core features \n **Length:** ~1500 words \n **Language:** English" ,
"isTemplate" : false ,
"content" : {
"title" : "Getting Started with Metabind" ,
"subtitle" : "Your journey begins here" ,
"author" : "Documentation Team" ,
"heroImage" : "asset999" ,
"components" : [
{
"type" : "ArticleParagraph" ,
"text" : "Welcome to Metabind! This guide will help you get started..."
},
{
"type" : "ArticleHeading" ,
"text" : "First Steps" ,
"level" : 2
}
]
},
"tags" : [ "Tutorial" ],
"metadata" : {
"locale" : "en-US"
}
}
Response
Returns the created Content object with derived fields like packageVersion from the latest ContentType version.
{
"id" : "cont125" ,
"typeId" : "ct123" ,
"typeVersion" : 2 ,
"version" : null ,
"lastPublishedVersion" : null ,
"packageVersion" : "1.0.0" ,
"name" : "Getting Started Guide" ,
"description" : "Getting Started with Metabind..." ,
"status" : "draft" ,
"isTemplate" : false ,
"content" : {
"title" : "Getting Started with Metabind" ,
"subtitle" : "Your journey begins here" ,
"author" : "Documentation Team" ,
"heroImage" : "asset999" ,
"components" : [ ... ]
},
"compiled" : "const body = () => { ... }" ,
"tags" : [ "Tutorial" ],
"metadata" : {
"author" : "user123" ,
"locale" : "en-US"
},
"createdAt" : "2024-03-21T10:00:00Z" ,
"updatedAt" : "2024-03-21T10:00:00Z"
}
New content is created with draft status and null version. The typeVersion and packageVersion are automatically set from the latest published ContentType version.
Error Responses
ContentType Not Found
{
"error" : {
"code" : "CONTENT_TYPE_NOT_FOUND" ,
"message" : "Content type not found" ,
"details" : {
"typeId" : "ct123"
}
}
}
Validation Failed
{
"error" : {
"code" : "VALIDATION_FAILED" ,
"message" : "Content does not match schema" ,
"details" : {
"errors" : [
{
"path" : "/content/title" ,
"message" : "Required field missing"
}
]
}
}
}
Invalid Component
{
"error" : {
"code" : "INVALID_COMPONENT" ,
"message" : "Component type not allowed" ,
"details" : {
"componentType" : "VideoPlayer" ,
"allowedTypes" : [ "ArticleParagraph" , "ArticleHeading" , "ArticleImage" ]
}
}
}
Code Examples
curl -X POST "https://api.metabind.ai/app/v1/organizations/org123/projects/proj456/content" \
-H "Authorization: Bearer YOUR_JWT" \
-H "Content-Type: application/json" \
-d '{
"typeId": "ct123",
"name": "Getting Started Guide",
"content": {
"title": "Getting Started with Metabind",
"components": [
{
"type": "ArticleParagraph",
"text": "Welcome to Metabind!"
}
]
}
}'