{
"error": "items[2].brief is required (string)"
}
{
"error": "Invalid API key"
}
Too many requests from this IP, please try again in a minute
Create
Batch Create Content
Create multiple content pieces in a single request. Brand context is resolved
once and shared across all items for consistency and efficiency.
Each item in the items array is an independent content creation request with
its own brief and optional overrides. All items are executed in parallel.
Limits: Maximum 10 items per batch.
Response: Returns immediately with a batchId and per-item status. Items
that could not be started are marked as failed with an error message. Successful
items are queued with a run ID you can poll individually.
Agent usage pattern:
Generate briefs with POST /v1/content/brief (count: 5)
Feed all briefs into this endpoint as a batch
Poll each runId from the response for results
POST
/
v1
/
content
/
batch
Batch Create Content
curl --request POST \
--url https://app.uselamina.ai/v1/content/batch \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"items": [
{
"brief": "Lifestyle photo of sneakers in urban park, golden-hour lighting",
"platform": "instagram",
"modality": "image"
},
{
"brief": "Product flat-lay of full colorway lineup, minimalist styling",
"platform": "instagram",
"modality": "image"
},
{
"brief": "15-second video of sneaker unboxing with ASMR-style close-ups",
"platform": "tiktok",
"modality": "video"
}
],
"brandProfileId": null,
"campaignId": null
}
'
import requests
url = "https://app.uselamina.ai/v1/content/batch"
payload = {
"items": [
{
"brief": "Lifestyle photo of sneakers in urban park, golden-hour lighting",
"platform": "instagram",
"modality": "image"
},
{
"brief": "Product flat-lay of full colorway lineup, minimalist styling",
"platform": "instagram",
"modality": "image"
},
{
"brief": "15-second video of sneaker unboxing with ASMR-style close-ups",
"platform": "tiktok",
"modality": "video"
}
],
"brandProfileId": None,
"campaignId": None
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
items: [
{
brief: 'Lifestyle photo of sneakers in urban park, golden-hour lighting',
platform: 'instagram',
modality: 'image'
},
{
brief: 'Product flat-lay of full colorway lineup, minimalist styling',
platform: 'instagram',
modality: 'image'
},
{
brief: '15-second video of sneaker unboxing with ASMR-style close-ups',
platform: 'tiktok',
modality: 'video'
}
],
brandProfileId: null,
campaignId: null
})
};
fetch('https://app.uselamina.ai/v1/content/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
"error": "items[2].brief is required (string)"
}
{
"error": "Invalid API key"
}
Too many requests from this IP, please try again in a minute
Create multiple pieces of content in a single request.Each item follows the same logic as the create-content endpoint — brief resolution, app selection, and execution — but all items run in parallel. Brand context is resolved once and shared across the batch.Returns an array of results, one per item. Each successful item includes a run ID you can track via the wait or get-run endpoints. Failed items include the error reason.Maximum 10 items per batch.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Lamina","colors":{"primary":"#0F766E","light":"#14B8A6","dark":"#115E59"},"favicon":"https://mintcdn.com/mason-15348f78/3iJvP8OcRcg2LjXU/favicon.png?fit=max\u0026auto=format\u0026n=3iJvP8OcRcg2LjXU\u0026q=85\u0026s=eda5c3cb7458d3d9c2092c4cad08087a","api":{"openapi":["openapi.yaml"]},"navbar":{"primary":{"type":"button","label":"Quick Start","href":"/quick-start"}},"seo":{"metatags":{"og:image":"https://cdn.sanity.io/images/nxxnxyyr/production/0df374e0014d413d75e40c601b4680c3bea02482-1200x630.jpg?w=1200\u0026h=630\u0026fit=crop\u0026auto=format","og:image:width":"1200","og:image:height":"630","og:image:alt":"Lamina — Generative media API for AI agents","og:site_name":"Lamina Docs","twitter:card":"summary_large_image","twitter:image":"https://cdn.sanity.io/images/nxxnxyyr/production/0df374e0014d413d75e40c601b4680c3bea02482-1200x630.jpg?w=1200\u0026h=630\u0026fit=crop\u0026auto=format"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mason-15348f78","hasAudioNarration":false,"actualSubdomain":"mason-15348f78","customDomains":["docs.uselamina.ai"],"gitSource":{"type":"github","owner":"cirbuk","repo":"react-flow-integration","deployBranch":"staging","contentDirectory":"api-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aec2e802235bcbcaaa0ddfb","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Docs","count":69},{"language":"default","tag":"API Reference","count":49},{"language":"default","tag":"Brand Assistant","count":16},{"language":"default","tag":"Guides","count":10},{"language":"default","tag":"Create","count":7},{"language":"default","tag":"Track","count":6},{"language":"default","tag":"Overview","count":5},{"language":"default","tag":"Compose","count":4},{"language":"default","tag":"Discover","count":4},{"language":"default","tag":"Intelligence","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/batch-create","slug":"/api-reference/batch-create","pageMetadata":{"title":"Batch Create Content","openapi":"POST /v1/content/batch","description":"Create multiple content pieces in a single request. Brand context is resolved\nonce and shared across all items for consistency and efficiency.\n\nEach item in the `items` array is an independent content creation request with\nits own brief and optional overrides. All items are executed in parallel.\n\n**Limits:** Maximum 10 items per batch.\n\n**Response:** Returns immediately with a `batchId` and per-item status. Items\nthat could not be started are marked as `failed` with an error message. Successful\nitems are `queued` with a run ID you can poll individually.\n\n**Agent usage pattern:**\n1. Generate briefs with `POST /v1/content/brief` (count: 5)\n2. Feed all briefs into this endpoint as a batch\n3. Poll each `runId` from the response for results\n","href":"/api-reference/batch-create"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n ol: \"ol\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Create multiple content pieces in a single request. Brand context is resolved\\nonce and shared across all items for consistency and efficiency.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Each item in the \", _jsx(_components.code, {\n children: \"items\"\n }), \" array is an independent content creation request with\\nits own brief and optional overrides. All items are executed in parallel.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Limits:\"\n }), \" Maximum 10 items per batch.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Response:\"\n }), \" Returns immediately with a \", _jsx(_components.code, {\n children: \"batchId\"\n }), \" and per-item status. Items\\nthat could not be started are marked as \", _jsx(_components.code, {\n children: \"failed\"\n }), \" with an error message. Successful\\nitems are \", _jsx(_components.code, {\n children: \"queued\"\n }), \" with a run ID you can poll individually.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Agent usage pattern:\"\n })\n }), \"\\n\", _jsxs(_components.ol, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [\"Generate briefs with \", _jsx(_components.code, {\n children: \"POST /v1/content/brief\"\n }), \" (count: 5)\"]\n }), \"\\n\", _jsx(_components.li, {\n children: \"Feed all briefs into this endpoint as a batch\"\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Poll each \", _jsx(_components.code, {\n children: \"runId\"\n }), \" from the response for results\"]\n }), \"\\n\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Create multiple pieces of content in a single request.`}),`\n`,_jsx(_components.p,{children:`Each item follows the same logic as the create-content endpoint — brief resolution, app selection, and execution — but all items run in parallel. Brand context is resolved once and shared across the batch.`}),`\n`,_jsx(_components.p,{children:`Returns an array of results, one per item. Each successful item includes a run ID you can track via the wait or get-run endpoints. Failed items include the error reason.`}),`\n`,_jsx(_components.p,{children:`Maximum 10 items per batch.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Batch Create Content","openapi":"POST /v1/content/batch","description":"Create multiple content pieces in a single request. Brand context is resolved\nonce and shared across all items for consistency and efficiency.\n\nEach item in the `items` array is an independent content creation request with\nits own brief and optional overrides. All items are executed in parallel.\n\n**Limits:** Maximum 10 items per batch.\n\n**Response:** Returns immediately with a `batchId` and per-item status. Items\nthat could not be started are marked as `failed` with an error message. Successful\nitems are `queued` with a run ID you can poll individually.\n\n**Agent usage pattern:**\n1. Generate briefs with `POST /v1/content/brief` (count: 5)\n2. Feed all briefs into this endpoint as a batch\n3. Poll each `runId` from the response for results\n","href":"/api-reference/batch-create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"batchCreate","summary":"Batch Create Content","tags":["Create"],"description":"Create multiple content pieces in a single request. Brand context is resolved\nonce and shared across all items for consistency and efficiency.\n\nEach item in the `items` array is an independent content creation request with\nits own brief and optional overrides. All items are executed in parallel.\n\n**Limits:** Maximum 10 items per batch.\n\n**Response:** Returns immediately with a `batchId` and per-item status. Items\nthat could not be started are marked as `failed` with an error message. Successful\nitems are `queued` with a run ID you can poll individually.\n\n**Agent usage pattern:**\n1. Generate briefs with `POST /v1/content/brief` (count: 5)\n2. Feed all briefs into this endpoint as a batch\n3. Poll each `runId` from the response for results\n","requestBody":"530f0636-cec7-4080-aa12-10228b1554cc","responses":{"202":"d2e1c655-6280-4617-8bc1-b06189c73e77","400":"6f3146f5-e149-469f-8d3f-9ca55b7fdb40","401":"ef1f3c11-72d6-4888-b844-deb09feb7185","429":"067e6bb5-51f6-44c0-96d1-58a9f8dbbfc6"},"method":"post","type":"path","servers":["013dd238-a99f-4068-9933-b197281048ec"],"security":["ff5cb86a-e988-4d7e-bc2f-e5a2ab95bf18"],"path":"/v1/content/batch","baseUrlOptions":["https://app.uselamina.ai"],"title":"Batch Create Content","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","description":"A single item in a batch content creation request.","required":["brief"],"properties":{"brief":{"type":"string","description":"Natural-language content creation brief","isRequired":true,"uniqueKey":"\\items.items.[INDEX].brief","typeLabel":"string"},"platform":{"oneOf":[{"type":"string","description":"Target platform for this item","uniqueKey":"\\items.items.[INDEX].platform.oneOf.0","typeLabel":"string"},{"type":"null","description":"Target platform for this item","uniqueKey":"\\items.items.[INDEX].platform.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].platform","typeLabel":"string | null"},"modality":{"oneOf":[{"type":"string","description":"Desired content modality","uniqueKey":"\\items.items.[INDEX].modality.oneOf.0","typeLabel":"string"},{"type":"null","description":"Desired content modality","uniqueKey":"\\items.items.[INDEX].modality.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].modality","typeLabel":"string | null"},"appId":{"oneOf":[{"type":"string","format":"uuid","description":"Force a specific app for this item","uniqueKey":"\\items.items.[INDEX].appId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Force a specific app for this item","uniqueKey":"\\items.items.[INDEX].appId.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].appId","typeLabel":"string\u003cuuid> | null"},"brandProfileId":{"oneOf":[{"type":"string","format":"uuid","description":"Override the batch-level brand profile for this item","uniqueKey":"\\items.items.[INDEX].brandProfileId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Override the batch-level brand profile for this item","uniqueKey":"\\items.items.[INDEX].brandProfileId.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].brandProfileId","typeLabel":"string\u003cuuid> | null"},"campaignId":{"oneOf":[{"type":"string","format":"uuid","description":"Override the batch-level campaign for this item","uniqueKey":"\\items.items.[INDEX].campaignId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Override the batch-level campaign for this item","uniqueKey":"\\items.items.[INDEX].campaignId.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].campaignId","typeLabel":"string\u003cuuid> | null"},"inputs":{"oneOf":[{"type":"object","description":"Override specific input parameters for this item","uniqueKey":"\\items.items.[INDEX].inputs.oneOf.0","typeLabel":"object"},{"type":"null","description":"Override specific input parameters for this item","uniqueKey":"\\items.items.[INDEX].inputs.oneOf.1","typeLabel":"null"}],"uniqueKey":"\\items.items.[INDEX].inputs","typeLabel":"object | null"}},"uniqueKey":"\\items.items.[INDEX]","typeLabel":"object"},"minItems":1,"maxItems":10,"description":"Array of content creation requests (1-10 items).","isRequired":true,"uniqueKey":"\\items","typeLabel":"object[]"},"brandProfileId":{"oneOf":[{"type":"string","format":"uuid","description":"Default brand profile for all items (individual items can override).","uniqueKey":"brandProfileId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Default brand profile for all items (individual items can override).","uniqueKey":"brandProfileId.oneOf.1","typeLabel":"null"}],"uniqueKey":"brandProfileId","typeLabel":"string\u003cuuid> | null"},"campaignId":{"oneOf":[{"type":"string","format":"uuid","description":"Default campaign for all items (individual items can override).","uniqueKey":"campaignId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Default campaign for all items (individual items can override).","uniqueKey":"campaignId.oneOf.1","typeLabel":"null"}],"uniqueKey":"campaignId","typeLabel":"string\u003cuuid> | null"}},"required":["items"],"uniqueKey":"","typeLabel":"object"},"example":{"items":[{"brief":"Lifestyle photo of sneakers in urban park, golden-hour lighting","platform":"instagram","modality":"image"},{"brief":"Product flat-lay of full colorway lineup, minimalist styling","platform":"instagram","modality":"image"},{"brief":"15-second video of sneaker unboxing with ASMR-style close-ups","platform":"tiktok","modality":"video"}],"brandProfileId":null,"campaignId":null},"examples":{"Example":{"title":"Example","value":{"items":[{"brief":"Lifestyle photo of sneakers in urban park, golden-hour lighting","platform":"instagram","modality":"image"},{"brief":"Product flat-lay of full colorway lineup, minimalist styling","platform":"instagram","modality":"image"},{"brief":"15-second video of sneaker unboxing with ASMR-style close-ups","platform":"tiktok","modality":"video"}],"brandProfileId":null,"campaignId":null}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"d2e1c655-6280-4617-8bc1-b06189c73e77":{"description":"Batch creation started. Poll individual run IDs for results.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","description":"Result of a batch content creation request.","required":["batchId","total","items"],"properties":{"batchId":{"type":"string","format":"uuid","description":"Unique batch identifier","isRequired":true,"uniqueKey":"data.batchId","typeLabel":"string\u003cuuid>"},"total":{"type":"integer","description":"Total number of items in the batch","isRequired":true,"uniqueKey":"data.total","typeLabel":"integer"},"items":{"type":"array","items":{"type":"object","description":"Status of a single item in a batch creation result.","required":["index","status"],"properties":{"index":{"type":"integer","description":"Zero-based index of this item in the original `items` array","isRequired":true,"uniqueKey":"data.\\items.items.[INDEX].index","typeLabel":"integer"},"status":{"type":"string","enum":["queued","failed"],"description":"`queued` -- execution started, poll `runId` for results\n`failed` -- could not start, check `error` field\n","isRequired":true,"uniqueKey":"data.\\items.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"runId":{"type":"string","format":"uuid","description":"Run ID to poll for results (only present when status is `queued`)","uniqueKey":"data.\\items.items.[INDEX].runId","typeLabel":"string\u003cuuid>"},"workflowId":{"type":"string","format":"uuid","description":"App/workflow that was selected (only present when status is `queued`)","uniqueKey":"data.\\items.items.[INDEX].workflowId","typeLabel":"string\u003cuuid>"},"workflowName":{"type":"string","description":"App name (only present when status is `queued`)","uniqueKey":"data.\\items.items.[INDEX].workflowName","typeLabel":"string"},"error":{"type":"string","description":"Error message (only present when status is `failed`)","uniqueKey":"data.\\items.items.[INDEX].error","typeLabel":"string"}},"uniqueKey":"data.\\items.items.[INDEX]","typeLabel":"object"},"description":"Per-item results","isRequired":true,"uniqueKey":"data.\\items","typeLabel":"object[]"},"queued":{"type":"integer","description":"Number of items successfully queued","uniqueKey":"data.queued","typeLabel":"integer"},"failed":{"type":"integer","description":"Number of items that failed to start","uniqueKey":"data.failed","typeLabel":"integer"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"data":{"batchId":"batch-001","total":3,"queued":2,"failed":1,"items":[{"index":0,"status":"queued","runId":"exec-001","workflowId":"80d4d454-8844-489f-b903-2ad65a414482","workflowName":"AI Product Photography"},{"index":1,"status":"queued","runId":"exec-002","workflowId":"80d4d454-8844-489f-b903-2ad65a414482","workflowName":"AI Product Photography"},{"index":2,"status":"failed","error":"No video-capable app found for this workspace"}]}},"examples":{"Example":{"title":"Example","value":{"data":{"batchId":"batch-001","total":3,"queued":2,"failed":1,"items":[{"index":0,"status":"queued","runId":"exec-001","workflowId":"80d4d454-8844-489f-b903-2ad65a414482","workflowName":"AI Product Photography"},{"index":1,"status":"queued","runId":"exec-002","workflowId":"80d4d454-8844-489f-b903-2ad65a414482","workflowName":"AI Product Photography"},{"index":2,"status":"failed","error":"No video-capable app found for this workspace"}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"6f3146f5-e149-469f-8d3f-9ca55b7fdb40":{"description":"Invalid request (missing items, items exceed limit, or item validation failed)","content":{"application/json":{"schema":{"type":"object","description":"Standard error response","required":["error"],"properties":{"error":{"type":"string","description":"Human-readable error message","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"details":{"type":"array","items":{"type":"string","uniqueKey":"details.items.[INDEX]","typeLabel":"string"},"description":"Additional validation error details (present on 400 responses)","uniqueKey":"details","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"items[2].brief is required (string)"},"examples":{"Example":{"title":"Example","value":{"error":"items[2].brief is required (string)"}}},"exampleType":"examples"}},"exampleType":"examples"},"ef1f3c11-72d6-4888-b844-deb09feb7185":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Invalid API key"},"examples":{"Example":{"title":"Example","value":{"error":"Invalid API key"}}},"exampleType":"examples"}},"exampleType":"examples"},"067e6bb5-51f6-44c0-96d1-58a9f8dbbfc6":{"description":"Rate limit exceeded. All `/v1/*` endpoints are currently limited to 100 requests per minute per IP.","headers":{"RateLimit-Policy":{"description":"Active rate limit policy.","schema":{"type":"string","example":"100;w=60"}},"RateLimit-Limit":{"description":"Max requests allowed in the current window.","schema":{"type":"integer","example":100}},"RateLimit-Remaining":{"description":"Requests remaining in the current window.","schema":{"type":"integer","example":0}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer","example":60}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer","example":60}}},"content":{"text/plain":{"schema":{"type":"string","uniqueKey":"","typeLabel":"string"},"example":"Too many requests from this IP, please try again in a minute","examples":{"Example":{"title":"Example","value":"Too many requests from this IP, please try again in a minute"}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"ff5cb86a-e988-4d7e-bc2f-e5a2ab95bf18":{"apiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"Workspace API key. Prefix: `lma_`. Example: `lma_abc123...`","scopes":[],"schemeName":"apiKey"}}},"servers":{"013dd238-a99f-4068-9933-b197281048ec":{"url":"https://app.uselamina.ai","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Workspace API key. Prefix: `lma_`. Example: `lma_abc123...`","scopes":[],"schemeName":"apiKey"},"schema":{"title":"x-api-key","type":"string","description":"Workspace API key. Prefix: `lma_`. Example: `lma_abc123...`","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"x-api-key"}],"title":"apiKey"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"mason-15348f78","siteName":"Lamina","title":"Batch Create Content - Lamina","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-19T12:40:25.895Z","originalFileLocation":"api-reference/batch-create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create multiple content pieces in a single request. Brand context is resolved once and shared across all items for consistency and efficiency. Each item in the items array is an independent content creation request with its own brief and optional overrides. All items are executed in parallel. Limits: Maximum 10 items per batch. Response: Returns immediately with a batchId and per-item status. Items that could not be started are marked as failed with an error message. Successful items are queued with a run ID you can poll individually. Agent usage pattern: 1. Generate briefs with POST /v1/content/brief (count: 5) 2. Feed all briefs into this endpoint as a batch 3. Poll each runId from the response for results\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lamina\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Batch Create Content - Lamina\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create multiple content pieces in a single request. Brand context is resolved once and shared across all items for consistency and efficiency. Each item in the items array is an independent content creation request with its own brief and optional overrides. All items are executed in parallel. Limits: Maximum 10 items per batch. Response: Returns immediately with a batchId and per-item status. Items that could not be started are marked as failed with an error message. Successful items are queued with a run ID you can poll individually. Agent usage pattern: 1. Generate briefs with POST /v1/content/brief (count: 5) 2. Feed all briefs into this endpoint as a batch 3. Poll each runId from the response for results\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lamina Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.uselamina.ai/api-reference/batch-create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cdn.sanity.io/images/nxxnxyyr/production/0df374e0014d413d75e40c601b4680c3bea02482-1200x630.jpg?w=1200\u0026amp;h=630\u0026amp;fit=crop\u0026amp;auto=format\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Batch Create Content - Lamina\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create multiple content pieces in a single request. Brand context is resolved once and shared across all items for consistency and efficiency. Each item in the items array is an independent content creation request with its own brief and optional overrides. All items are executed in parallel. Limits: Maximum 10 items per batch. Response: Returns immediately with a batchId and per-item status. Items that could not be started are marked as failed with an error message. Successful items are queued with a run ID you can poll individually. Agent usage pattern: 1. Generate briefs with POST /v1/content/brief (count: 5) 2. Feed all briefs into this endpoint as a batch 3. Poll each runId from the response for results\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cdn.sanity.io/images/nxxnxyyr/production/0df374e0014d413d75e40c601b4680c3bea02482-1200x630.jpg?w=1200\u0026amp;h=630\u0026amp;fit=crop\u0026amp;auto=format\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mason-15348f78/8JpPyXaRAbMqCEJN/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lamina\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F766E\">\u003cmeta data-mint-head name=\"og:image:alt\" content=\"Lamina — Generative media API for AI agents\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.uselamina.ai/api-reference/batch-create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/batch-create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.uselamina.ai/#organization\",\"name\":\"Lamina\",\"url\":\"https://docs.uselamina.ai\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.uselamina.ai#website\",\"name\":\"Lamina\",\"url\":\"https://docs.uselamina.ai\",\"publisher\":{\"@id\":\"https://docs.uselamina.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.uselamina.ai/api-reference/batch-create#webpage\",\"url\":\"https://docs.uselamina.ai/api-reference/batch-create\",\"name\":\"Batch Create Content\",\"description\":\"Create multiple content pieces in a single request. Brand context is resolved once and shared across all items for consistency and efficiency. Each item in the items array is an independent content creation request with its own brief and optional overrides. All items are executed in parallel. Limits: Maximum 10 items per batch. Response: Returns immediately with a batchId and per-item status. Items that could not be started are marked as failed with an error message. Successful items are queued with a run ID you can poll individually. Agent usage pattern: 1. Generate briefs with POST /v1/content/brief (count: 5) 2. Feed all briefs into this endpoint as a batch 3. Poll each runId from the response for results\",\"dateModified\":\"2026-04-19T12:40:25.895Z\",\"isPartOf\":{\"@id\":\"https://docs.uselamina.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.uselamina.ai/api-reference/batch-create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.uselamina.ai/api-reference/batch-create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.uselamina.ai/api-reference/create-content\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create\",\"item\":\"https://docs.uselamina.ai/api-reference/create-content\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Batch Create Content\",\"item\":\"https://docs.uselamina.ai/api-reference/batch-create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.uselamina.ai/api-reference/batch-create#apireference\",\"headline\":\"Batch Create Content\",\"name\":\"Batch Create Content\",\"description\":\"Create multiple content pieces in a single request. Brand context is resolved once and shared across all items for consistency and efficiency. Each item in the items array is an independent content creation request with its own brief and optional overrides. All items are executed in parallel. Limits: Maximum 10 items per batch. Response: Returns immediately with a batchId and per-item status. Items that could not be started are marked as failed with an error message. Successful items are queued with a run ID you can poll individually. Agent usage pattern: 1. Generate briefs with POST /v1/content/brief (count: 5) 2. Feed all briefs into this endpoint as a batch 3. Poll each runId from the response for results\",\"url\":\"https://docs.uselamina.ai/api-reference/batch-create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.uselamina.ai/api-reference/batch-create#webpage\"},\"image\":\"https://cdn.sanity.io/images/nxxnxyyr/production/0df374e0014d413d75e40c601b4680c3bea02482-1200x630.jpg?w=1200\u0026h=630\u0026fit=crop\u0026auto=format\",\"dateModified\":\"2026-04-19T12:40:25.895Z\",\"publisher\":{\"@id\":\"https://docs.uselamina.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.uselamina.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lamina\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Lamina","nav":{"global":null,"tabs":[{"tab":"Docs","groups":[{"group":"Overview","pages":[{"title":"Lamina","href":"/introduction"},{"title":"Quick Start","href":"/quick-start"},{"title":"The Creative Engine","href":"/concepts/creative-engine"},{"title":"Authentication","href":"/authentication"},{"title":"Errors","href":"/errors"}]},{"group":"Install","pages":[{"title":"Use The CLI And SDK","sidebarTitle":"CLI \u0026 SDK","href":"/guides/use-the-cli-and-sdk"},{"group":"MCP Install","expanded":true,"pages":[{"title":"MCP OAuth Install","sidebarTitle":"General","href":"/guides/mcp-oauth-install"},{"title":"Brand MCP","sidebarTitle":"Brand","href":"/guides/commerce-mcp"}]}]},{"group":"Concepts","pages":[{"title":"Apps And Executions","href":"/concepts/apps-and-executions"},{"title":"Inputs And Outputs","href":"/concepts/inputs-and-outputs"}]},{"group":"API Reference","pages":[{"group":"Create","pages":[{"title":"Create Content","openapi":"POST /v1/content/create","href":"/api-reference/create-content"},{"title":"Generate Content Brief","openapi":"POST /v1/content/brief","description":"Generate content briefs from a goal, enriched with brand\ncontext and trend signals. Returns multiple brief suggestions that can be\nfed directly into `POST /v1/content/create`.\n\n**Example workflow:**\n1. Call this endpoint with a goal: \"Increase Instagram engagement for our sneaker line\"\n2. Review the generated briefs (each is a self-contained content creation instruction)\n3. Pass the best brief as the `brief` field to `POST /v1/content/create`\n\nEach generated brief incorporates:\n- Workspace brand DNA and voice attributes\n- Current trend signals for the target platform\n- Historical performance patterns\n","href":"/api-reference/create-brief"},{"title":"Batch Create Content","openapi":"POST /v1/content/batch","href":"/api-reference/batch-create"},{"title":"Generate App","openapi":"POST /v1/workflows/generate","description":"Generate a brand-new app from a plain-language instruction when no existing\napp fits (check `POST /v1/apps/discover` first). A headless LLM planner\nassembles a validated workflow graph from the node catalog and auto-publishes\nit as a private, immediately-runnable app. The result is a normal app: run it\nvia `POST /v1/apps/{appId}/runs` with the returned parameter keys.\n\nPass `baseAppId` to EDIT an existing generated app in place: the planner starts\nfrom that app's current graph and applies the instruction as a targeted change,\nkeeping the same appId and run history. Requires creator or workspace owner/admin.\n","href":"/api-reference/generate-workflow"},{"title":"Run App","openapi":"POST /v1/apps/{appId}/runs","href":"/api-reference/run-app"},{"title":"List Templates","openapi":"GET /v1/templates","href":"/api-reference/list-templates"},{"title":"Get Template","openapi":"GET /v1/templates/{id}","href":"/api-reference/get-template"}]},{"group":"Discover","pages":[{"title":"List Apps","openapi":"GET /v1/apps","href":"/api-reference/list-apps"},{"title":"Get App Details","openapi":"GET /v1/apps/{appId}","href":"/api-reference/get-app"},{"title":"Get App Workflow","openapi":"GET /v1/apps/{appId}/workflow","href":"/api-reference/get-app-workflow"},{"title":"Set App Visibility","openapi":"POST /v1/apps/{appId}/visibility","href":"/api-reference/set-app-visibility"}]},{"group":"Track","pages":[{"title":"Get Run Status","openapi":"GET /v1/runs/{runId}","href":"/api-reference/get-execution"},{"title":"Wait For Run","openapi":"GET /v1/runs/{runId}/wait","href":"/api-reference/wait-for-execution"},{"title":"Stream Run","openapi":"GET /v1/runs/{runId}/stream","href":"/api-reference/stream-execution"},{"title":"Refine Run","openapi":"POST /v1/runs/{runId}/feedback","href":"/api-reference/refine-run"},{"title":"List Runs","openapi":"GET /v1/runs","href":"/api-reference/list-executions"},{"title":"List Assets","openapi":"GET /v1/assets","href":"/api-reference/list-assets"}]},{"group":"Intelligence","pages":[{"title":"Get Brand Context","openapi":"GET /v1/intelligence/brand-context","href":"/api-reference/get-brand-context"},{"title":"Predict Content Performance","openapi":"POST /v1/intelligence/predict","href":"/api-reference/predict-performance"},{"title":"Get Recommendations","openapi":"GET /v1/intelligence/recommendations","href":"/api-reference/get-recommendations"},{"title":"Get Trends","openapi":"GET /v1/intelligence/trends","href":"/api-reference/get-trends"}]},{"group":"Distribute","pages":[{"title":"List Channels","openapi":"GET /v1/publishing/channels","href":"/api-reference/list-channels"},{"title":"Publish Content","openapi":"POST /v1/publishing/publish","href":"/api-reference/publish-content"},{"title":"Transfer Asset to CDN","openapi":"POST /v1/publishing/transfer-asset","href":"/api-reference/transfer-asset"},{"title":"Get Publish History","openapi":"GET /v1/publishing/history","href":"/api-reference/get-publish-history"}]},{"group":"Score","pages":[{"title":"Score Content","openapi":"POST /v1/content/score","href":"/api-reference/score-content"}]},{"group":"Compose","pages":[{"title":"List Compose Formats","openapi":"GET /v1/compose/formats","href":"/api-reference/list-compose-formats"},{"title":"Plan Compose Video","openapi":"POST /v1/compose/plan","href":"/api-reference/plan-compose-video"},{"title":"Compose Narrated Video","openapi":"POST /v1/compose/video","href":"/api-reference/compose-video"},{"title":"Get Compose Run","openapi":"GET /v1/compose/video/{runId}","href":"/api-reference/get-compose-run"}]},{"group":"Brand Assistant","pages":[{"title":"Read capabilities and pricing","openapi":"GET /v1/brand-assistant/capabilities","href":"/api-reference/brand-assistant-capabilities"},{"title":"List saved chats","openapi":"GET /v1/brand-assistant/chats","href":"/api-reference/brand-assistant-list-chats"},{"title":"Create a chat","openapi":"POST /v1/brand-assistant/chats","href":"/api-reference/brand-assistant-create-chat"},{"title":"Get a saved chat","openapi":"GET /v1/brand-assistant/chats/{chatId}","href":"/api-reference/brand-assistant-get-chat"},{"title":"Rename or archive a chat","openapi":"PATCH /v1/brand-assistant/chats/{chatId}","href":"/api-reference/brand-assistant-update-chat"},{"title":"Read chat history","openapi":"GET /v1/brand-assistant/chats/{chatId}/items","href":"/api-reference/brand-assistant-items"},{"title":"Read durable events","openapi":"GET /v1/brand-assistant/chats/{chatId}/events","href":"/api-reference/brand-assistant-events"},{"title":"Send an assistant message","openapi":"POST /v1/brand-assistant/chats/{chatId}/turns","href":"/api-reference/brand-assistant-send-message"},{"title":"Stop an assistant turn","openapi":"POST /v1/brand-assistant/chats/{chatId}/turns/{turnId}/cancel","href":"/api-reference/brand-assistant-cancel-turn"},{"title":"Retry saved message delivery","openapi":"POST /v1/brand-assistant/chats/{chatId}/turns/{turnId}/deliver","href":"/api-reference/brand-assistant-deliver-turn"},{"title":"Review generation approval","openapi":"POST /v1/brand-assistant/chats/{chatId}/approvals/{approvalId}","href":"/api-reference/brand-assistant-approve"},{"title":"Read generation results","openapi":"GET /v1/brand-assistant/chats/{chatId}/runs/{runId}","href":"/api-reference/brand-assistant-run"},{"title":"Request generation cancellation","openapi":"POST /v1/brand-assistant/chats/{chatId}/runs/{runId}/cancel","href":"/api-reference/brand-assistant-cancel-run"},{"title":"Create an upload","openapi":"POST /v1/brand-assistant/chats/{chatId}/assets","href":"/api-reference/brand-assistant-upload"},{"title":"Finalize an attachment","openapi":"POST /v1/brand-assistant/chats/{chatId}/assets/{assetId}/finalize","href":"/api-reference/brand-assistant-finalize"},{"title":"Download a result","openapi":"GET /v1/brand-assistant/chats/{chatId}/assets/{assetId}/download","href":"/api-reference/brand-assistant-download"}]},{"group":"Account","pages":[{"title":"Get Usage","openapi":"GET /v1/account/usage","href":"/api-reference/get-usage"},{"title":"Health Check","openapi":"GET /v1/health","href":"/api-reference/health-check"}]},{"group":"Webhooks","pages":[{"title":"Get Webhook Signing Key","openapi":"GET /v1/webhooks/signing-key","href":"/api-reference/get-webhook-signing-key"}]}]},{"group":"Guides","pages":[{"title":"Brand MCP reference","sidebarTitle":"Brand MCP reference","href":"/guides/commerce-mcp-reference"},{"title":"Brand Assistant","href":"/guides/brand-assistant"},{"title":"The Agent Creation Loop","href":"/guides/agent-creation-loop"},{"title":"Agent Integration Patterns","href":"/guides/agent-integration-patterns"},{"title":"Agent Recipes","href":"/guides/agent-recipes"},{"title":"Run Your First App","href":"/guides/run-your-first-app"},{"title":"Integration Recipes","href":"/guides/capability-recipes"},{"title":"Handle Long-Running Executions","href":"/guides/handle-long-running-executions"},{"title":"Test Webhooks Locally","href":"/guides/test-webhooks-locally"},{"title":"Agent Runtime Benchmarks","href":"/guides/agent-runtime-benchmarks"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Batch Create Content - Lamina","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CBsVopKK.js","utils-DZAk68jJ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D32AYZrP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D_A5_cny.js","snippetPresets-xNRfS9th.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BIB25-tq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CydJ4w4j.js","shallow-CYPBeQSG.js","getApiPlaygroundDisplay-A5xJVBOu.js","CodeSnippet-BVRTgi3m.js","CodeSnippets-DjD6BSlt.js","Page-Dr40SSJq.js","getPastedJson-D4V4JyrR.js","icon-uhcnG22T.js","MethodPill-CM-ZQdGH.js","DuplicateIcon-B_WnOiNf.js","createIcon-CJsb8utt.js","DynamicMarkdown-D-2HDKEp.js","SectionHeading-KP5xmMgQ.js","axios-vUo_bRtp.js","Markdown-D_k0dg6k.js","clsx-DK3K4Z1S.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DE3EVdvd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fN9H9n9g.js"]}