Accepts requests inline — no separate file upload step required.
Model and provider are resolved from body.model across all requests;
all requests must target the same model.
Returns 429 (batch_limit_exceeded) if the owner already has 10 or more
batches in a non-terminal state.
Returns 501 (not_implemented) if the resolved provider doesn’t support batch.
Dated version of the API contract to pin this request to. Omit it and the request is served under 2026-08 — the oldest supported version, so an existing integration is never moved by a release. A malformed or unsupported value is rejected with 400 invalid_api_version rather than falling back silently. The version actually served is echoed as X-Mesh-Version on every response, including errors.
Pin this request to one upstream provider, e.g. bedrock. The request is served by that provider or refused — never routed elsewhere. See GET /v1/providers/pinnable for the slugs this deployment accepts.
Your own labels for this request, echoed back on the usage row and available as a filter and a group-by dimension in the usage API. String keys to string values. Never put personal or sensitive data here — tags are stored with the usage record and are not redacted.
A stable, anonymised identifier for the end user making this request, recorded on the usage row and available as a filter and a group-by dimension in the usage API. Supersedes the deprecated user field. Use an opaque id, not an email address or a name.
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Mesh API","description":"One key, all AI models. The unified gateway for your AI infrastructure.","colors":{"primary":"#7C6DFA","light":"#9D91FC","dark":"#7C6DFA"},"logo":{"light":"https://mintcdn.com/meshapi/sQNc2eoy3Yx6MrBO/logo/light.svg?fit=max\u0026auto=format\u0026n=sQNc2eoy3Yx6MrBO\u0026q=85\u0026s=36fe9d501df415b719e7da15959b36b6","dark":"https://mintcdn.com/meshapi/sQNc2eoy3Yx6MrBO/logo/dark.svg?fit=max\u0026auto=format\u0026n=sQNc2eoy3Yx6MrBO\u0026q=85\u0026s=411f4d038a8dbf667d66460a9e4aae42"},"favicon":"https://mintcdn.com/meshapi/sQNc2eoy3Yx6MrBO/favicon.svg?fit=max\u0026auto=format\u0026n=sQNc2eoy3Yx6MrBO\u0026q=85\u0026s=c47294b9c052ace1bf68a9f020dd5f83","appearance":{"default":"system"},"navbar":{"links":[{"href":"mailto:contact@meshapi.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.meshapi.ai"}},"footer":{"socials":{"website":"https://meshapi.ai"}},"contextual":{"options":["copy","view",{"title":"Open in AI Fiesta","description":"Ask questions about this page","icon":"https://chat.aifiesta.ai/static/images/logo/transparent-logo.svg","href":{"base":"https://chat.aifiesta.ai","query":[{"key":"q","value":"Read from https://developers.meshapi.ai$path so I can ask questions about it."}]}},"chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"meshapi","hasAudioNarration":false,"actualSubdomain":"meshapi","customDomains":["developers.meshapi.ai"],"gitSource":{"type":"github","owner":"aifiesta","repo":"mesh-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af312ebe49ad3dd9a8ea2eb","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":88},{"language":"default","tag":"Endpoints","count":87},{"language":"default","tag":"Documentation","count":53},{"language":"default","tag":"Troubleshooting","count":17},{"language":"default","tag":"SDKs","count":16},{"language":"default","tag":"SDK Reference","count":16},{"language":"default","tag":"Mesh API","count":15},{"language":"default","tag":"Core Inference","count":14},{"language":"default","tag":"Templates","count":14},{"language":"default","tag":"Memory","count":12}]},"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":"custom-rbac-roles","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}],"googleFontsInlined":true},"customCss":[{"filePath":"assets/docs-assistant.css","content":"#mesh-assistant-root{--primary: #7c6dfa;--primary-foreground: #ffffff;--accent: initial;--accent-foreground: initial;--border: initial;--destructive: initial;--input: initial;--muted: initial;--muted-foreground: initial;--popover: initial;--popover-foreground: initial;--ring: initial}"}],"page":{"pagePath":"api/batch/create-batch","slug":"/api/batch/create-batch","pageMetadata":{"title":"Create Batch","description":"Create a batch job.\n\nAccepts requests inline — no separate file upload step required.\nModel and provider are resolved from `body.model` across all requests;\nall requests must target the same model.\n\nReturns 429 (batch_limit_exceeded) if the owner already has 10 or more\nbatches in a non-terminal state.\nReturns 501 (not_implemented) if the resolved provider doesn't support batch.","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/batches","href":"/api/batch/create-batch","autogeneratedByOpenApi":true},"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 p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Create a batch job.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Accepts requests inline — no separate file upload step required.\\nModel and provider are resolved from \", _jsx(_components.code, {\n children: \"body.model\"\n }), \" across all requests;\\nall requests must target the same model.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Returns 429 (batch_limit_exceeded) if the owner already has 10 or more\\nbatches in a non-terminal state.\\nReturns 501 (not_implemented) if the resolved provider doesn’t support batch.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}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":"Create Batch","description":"Create a batch job.\n\nAccepts requests inline — no separate file upload step required.\nModel and provider are resolved from `body.model` across all requests;\nall requests must target the same model.\n\nReturns 429 (batch_limit_exceeded) if the owner already has 10 or more\nbatches in a non-terminal state.\nReturns 501 (not_implemented) if the resolved provider doesn't support batch.","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/batches","href":"/api/batch/create-batch","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/meshapi/a0645baa84a1b38a/assets/docs-assistant.js"],"openApiReferenceData":{"operation":{"tags":["Batch"],"summary":"Create Batch","description":"Create a batch job.\n\nAccepts requests inline — no separate file upload step required.\nModel and provider are resolved from `body.model` across all requests;\nall requests must target the same model.\n\nReturns 429 (batch_limit_exceeded) if the owner already has 10 or more\nbatches in a non-terminal state.\nReturns 501 (not_implemented) if the resolved provider doesn't support batch.","operationId":"create_batch","requestBody":"6a110a51-4af5-475d-bc79-65021e6e49c2","responses":{"200":"52cbae93-d388-4041-9542-8532e7f7b186","422":"1af5e0e6-1c7c-4850-8327-4f8807fd2f87"},"security":["d7cebe42-cc72-46c5-8cdb-109ddff20ff1"],"parameters":["114e1291-e038-490c-99e5-bb8da77348f4"],"method":"post","type":"path","servers":["827bc63b-d9eb-4717-8e45-7a0570a0bb03"],"path":"/v1/batches","baseUrlOptions":["https://api.meshapi.ai"],"title":"Create Batch","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"114e1291-e038-490c-99e5-bb8da77348f4":{"in":"header","name":"X-Mesh-Version","required":false,"schema":{"type":"string","enum":["2026-08","2026-09","2026-11"],"default":"2026-08","isRequired":false,"description":"Dated version of the API contract to pin this request to. Omit it and the request is served under `2026-08` — the oldest supported version, so an existing integration is never moved by a release. A malformed or unsupported value is rejected with `400 invalid_api_version` rather than falling back silently. The version actually served is echoed as `X-Mesh-Version` on every response, including errors.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"example":"2026-11","description":"Dated version of the API contract to pin this request to. Omit it and the request is served under `2026-08` — the oldest supported version, so an existing integration is never moved by a release. A malformed or unsupported value is rejected with `400 invalid_api_version` rather than falling back silently. The version actually served is echoed as `X-Mesh-Version` on every response, including errors."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"requests":{"items":{"properties":{"custom_id":{"type":"string","title":"Custom Id","isRequired":true,"uniqueKey":"requests.items.[INDEX].custom_id","typeLabel":"string"},"body":{"additionalProperties":true,"type":"object","title":"Body","isRequired":true,"uniqueKey":"requests.items.[INDEX].body","typeLabel":"Body · object"},"method":{"type":"string","title":"Method","default":"POST","uniqueKey":"requests.items.[INDEX].method","typeLabel":"string"},"url":{"type":"string","title":"Url","default":"/v1/chat/completions","uniqueKey":"requests.items.[INDEX].url","typeLabel":"string"}},"type":"object","required":["custom_id","body"],"title":"BatchRequestItem","uniqueKey":"requests.items.[INDEX]","typeLabel":"BatchRequestItem · object"},"type":"array","minItems":1,"title":"Requests","isRequired":true,"uniqueKey":"requests","typeLabel":"BatchRequestItem · object[]"},"completion_window":{"type":"string","title":"Completion Window","default":"24h","uniqueKey":"completion_window","typeLabel":"string"},"metadata":{"oneOf":[{"type":"object","title":"Metadata","additionalProperties":true,"uniqueKey":"metadata.oneOf.0","typeLabel":"Metadata · object"},{"type":"null","title":"Metadata","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"Metadata · object | null"},"provider":{"oneOf":[{"type":"string","title":"Provider","description":"Pin this request to one upstream provider, e.g. `bedrock`. The request is served by that provider or refused — never routed elsewhere. See `GET /v1/providers/pinnable` for the slugs this deployment accepts.","uniqueKey":"provider.oneOf.0","typeLabel":"string"},{"type":"null","title":"Provider","description":"Pin this request to one upstream provider, e.g. `bedrock`. The request is served by that provider or refused — never routed elsewhere. See `GET /v1/providers/pinnable` for the slugs this deployment accepts.","uniqueKey":"provider.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider","typeLabel":"string | null"},"tags":{"oneOf":[{"type":"object","title":"Tags","description":"Your own labels for this request, echoed back on the usage row and available as a filter and a group-by dimension in the usage API. String keys to string values. Never put personal or sensitive data here — tags are stored with the usage record and are not redacted.","example":{"env":"prod","feature":"summariser"},"additionalProperties":{"type":"string","uniqueKey":"tags.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"tags.oneOf.0","typeLabel":"Tags · object"},{"type":"null","title":"Tags","description":"Your own labels for this request, echoed back on the usage row and available as a filter and a group-by dimension in the usage API. String keys to string values. Never put personal or sensitive data here — tags are stored with the usage record and are not redacted.","example":{"env":"prod","feature":"summariser"},"uniqueKey":"tags.oneOf.1","typeLabel":"null"}],"uniqueKey":"tags","typeLabel":"Tags · object | null"},"safety_identifier":{"oneOf":[{"type":"string","title":"Safety Identifier","description":"A stable, anonymised identifier for the end user making this request, recorded on the usage row and available as a filter and a group-by dimension in the usage API. Supersedes the deprecated `user` field. Use an opaque id, not an email address or a name.","maxLength":256,"uniqueKey":"safety_identifier.oneOf.0","typeLabel":"string"},{"type":"null","title":"Safety Identifier","description":"A stable, anonymised identifier for the end user making this request, recorded on the usage row and available as a filter and a group-by dimension in the usage API. Supersedes the deprecated `user` field. Use an opaque id, not an email address or a name.","uniqueKey":"safety_identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"safety_identifier","typeLabel":"string | null"}},"type":"object","required":["requests"],"title":"CreateBatchRequest","example":{"completion_window":"24h","metadata":{"job_name":"my-batch-job"},"requests":[{"body":{"max_tokens":200,"messages":[{"content":"Summarize: Small sample text...","role":"user"}],"model":"openai/gpt-4o-mini","temperature":0.2},"custom_id":"item-1","method":"POST","url":"/v1/chat/completions"},{"body":{"messages":[{"content":"Translate to French: Hello world","role":"user"}],"model":"openai/gpt-4o-mini"},"custom_id":"item-2","method":"POST","url":"/v1/chat/completions"}]},"uniqueKey":"","typeLabel":"CreateBatchRequest · object"},"examples":{"default":{"title":"default","value":{"requests":[{"custom_id":"item-1","method":"POST","url":"/v1/chat/completions","body":{"model":"openai/gpt-5.4","messages":[{"role":"user","content":"Summarize the following text: Small sample text..."}],"max_tokens":200,"temperature":0.2}},{"custom_id":"item-2","method":"POST","url":"/v1/chat/completions","body":{"model":"openai/gpt-5.4","messages":[{"role":"user","content":"Translate to French: Hello world"}]}}],"completion_window":"24h","metadata":{"job_name":"nightly-support-summaries"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"52cbae93-d388-4041-9542-8532e7f7b186":{"description":"Batch job created","content":{"application/json":{"schema":{},"examples":{"default":{"title":"default","value":{"id":"batch_6a46708ba644819099dacb31e0339a86","object":"batch","endpoint":"/v1/chat/completions","input_file_id":"file-2LvNxHkyRFbSPcLEnEdHW9","completion_window":"24h","status":"validating","created_at":1783001227,"expires_at":1783087627,"request_counts":{"total":0,"completed":0,"failed":0},"usage":{"input_tokens":0,"output_tokens":0,"total_tokens":0,"input_tokens_details":{"cached_tokens":0},"output_tokens_details":{"reasoning_tokens":0}},"metadata":{"job_name":"my-batch-job"}}}},"exampleType":"examples"}},"exampleType":"examples"},"1af5e0e6-1c7c-4850-8327-4f8807fd2f87":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d7cebe42-cc72-46c5-8cdb-109ddff20ff1":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Enter your MeshAPI key (`rsk_...`) or, for the admin-keys endpoints, a dashboard session token — sent as `Authorization: Bearer \u003ctoken>`.","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"827bc63b-d9eb-4717-8e45-7a0570a0bb03":{"url":"https://api.meshapi.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Enter your MeshAPI key (`rsk_...`) or, for the admin-keys endpoints, a dashboard session token — sent as `Authorization: Bearer \u003ctoken>`.","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Enter your MeshAPI key (`rsk_...`) or, for the admin-keys endpoints, a dashboard session token — sent as `Authorization: Bearer \u003ctoken>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api/openapi.json"},"subdomain":"meshapi","siteName":"Mesh API","title":"Create Batch - Mesh API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-10T12:49:54.708Z","originalFileLocation":"api/batch/create-batch.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 a batch job. Accepts requests inline — no separate file upload step required. Model and provider are resolved from body.model across all requests; all requests must target the same model. Returns 429 (batch_limit_exceeded) if the owner already has 10 or more batches in a non-terminal state. Returns 501 (not_implemented) if the resolved provider doesn\u0026#x27;t support batch.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mesh API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/meshapi/hujnplAy9_MTdLYc/_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/meshapi/hujnplAy9_MTdLYc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/meshapi/hujnplAy9_MTdLYc/_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/meshapi/hujnplAy9_MTdLYc/_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/meshapi/hujnplAy9_MTdLYc/_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/meshapi/hujnplAy9_MTdLYc/_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/meshapi/hujnplAy9_MTdLYc/_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/meshapi/hujnplAy9_MTdLYc/_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/meshapi/hujnplAy9_MTdLYc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Batch - Mesh API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a batch job. Accepts requests inline — no separate file upload step required. Model and provider are resolved from body.model across all requests; all requests must target the same model. Returns 429 (batch_limit_exceeded) if the owner already has 10 or more batches in a non-terminal state. Returns 501 (not_implemented) if the resolved provider doesn\u0026#x27;t support batch.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mesh API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.meshapi.ai/api/batch/create-batch\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://meshapi.mintlify.site/_mintlify/api/og/v2?division=Batch\u0026amp;title=Create+Batch\u0026amp;description=Create+a+batch+job.%0A%0AAccepts+requests+inline+%E2%80%94+no+separate+file+upload+step+required.%0AModel+and+provider+are+resolved+from+%60body.model%60+across+all+requests%3B%0Aall\u0026amp;theme=5eba2a731da8698e520d2d7e\u0026amp;signature=885d245fb14e236953247ec90fec6b9b1905120d56c43faab3e1cd198df25210\">\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=\"Create Batch - Mesh API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a batch job. Accepts requests inline — no separate file upload step required. Model and provider are resolved from body.model across all requests; all requests must target the same model. Returns 429 (batch_limit_exceeded) if the owner already has 10 or more batches in a non-terminal state. Returns 501 (not_implemented) if the resolved provider doesn\u0026#x27;t support batch.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://meshapi.mintlify.site/_mintlify/api/og/v2?division=Batch\u0026amp;title=Create+Batch\u0026amp;description=Create+a+batch+job.%0A%0AAccepts+requests+inline+%E2%80%94+no+separate+file+upload+step+required.%0AModel+and+provider+are+resolved+from+%60body.model%60+across+all+requests%3B%0Aall\u0026amp;theme=5eba2a731da8698e520d2d7e\u0026amp;signature=885d245fb14e236953247ec90fec6b9b1905120d56c43faab3e1cd198df25210\">\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/meshapi/hujnplAy9_MTdLYc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mesh API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7C6DFA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.meshapi.ai/api/batch/create-batch\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/batch/create-batch.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.meshapi.ai/#organization\",\"name\":\"Mesh API\",\"url\":\"https://developers.meshapi.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/meshapi/sQNc2eoy3Yx6MrBO/logo/light.svg?fit=max\u0026auto=format\u0026n=sQNc2eoy3Yx6MrBO\u0026q=85\u0026s=36fe9d501df415b719e7da15959b36b6\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.meshapi.ai#website\",\"name\":\"Mesh API\",\"url\":\"https://developers.meshapi.ai\",\"publisher\":{\"@id\":\"https://developers.meshapi.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.meshapi.ai/api/batch/create-batch#webpage\",\"url\":\"https://developers.meshapi.ai/api/batch/create-batch\",\"name\":\"Create Batch\",\"description\":\"Create a batch job. Accepts requests inline — no separate file upload step required. Model and provider are resolved from body.model across all requests; all requests must target the same model. Returns 429 (batch_limit_exceeded) if the owner already has 10 or more batches in a non-terminal state. Returns 501 (not_implemented) if the resolved provider doesn't support batch.\",\"dateModified\":\"2026-11-10T12:49:54.708Z\",\"isPartOf\":{\"@id\":\"https://developers.meshapi.ai#website\"},\"breadcrumb\":{\"@id\":\"https://developers.meshapi.ai/api/batch/create-batch#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.meshapi.ai/api/batch/create-batch#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://developers.meshapi.ai/api/chat/chat-completions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Batch\",\"item\":\"https://developers.meshapi.ai/api/batch/list-batches\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Batch\",\"item\":\"https://developers.meshapi.ai/api/batch/create-batch\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.meshapi.ai/api/batch/create-batch#apireference\",\"headline\":\"Create Batch\",\"name\":\"Create Batch\",\"description\":\"Create a batch job. Accepts requests inline — no separate file upload step required. Model and provider are resolved from body.model across all requests; all requests must target the same model. Returns 429 (batch_limit_exceeded) if the owner already has 10 or more batches in a non-terminal state. Returns 501 (not_implemented) if the resolved provider doesn't support batch.\",\"url\":\"https://developers.meshapi.ai/api/batch/create-batch\",\"mainEntityOfPage\":{\"@id\":\"https://developers.meshapi.ai/api/batch/create-batch#webpage\"},\"dateModified\":\"2026-11-10T12:49:54.708Z\",\"publisher\":{\"@id\":\"https://developers.meshapi.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.meshapi.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mesh API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Mesh API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/batch/create-batch.md","siteName":"Mesh API","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book","pages":[{"title":"Documentation","href":""}]},{"tab":"Changelog","icon":"rss","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"API Reference","icon":"puzzle-piece","groups":[{"group":"Overview","pages":[{"title":"API reference","icon":"book","href":"/docs/reference/api-overview"}]},{"group":"Endpoints","pages":[{"group":"Chat","pages":[{"title":"Chat Completions","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/chat/completions","href":"/api/chat/chat-completions"},{"title":"Chat Compare","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/chat/compare","href":"/api/chat/chat-compare"}]},{"group":"Images","pages":[{"title":"Generate Image","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/images/generations","href":"/api/images/generate-image"},{"title":"Edit an image","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/images/edits","href":"/api/images/edit-an-image"}]},{"group":"Video","pages":[{"title":"List Video Generations","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/video/generations","href":"/api/video/list-video-generations"},{"title":"Create Video Generation","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/video/generations","href":"/api/video/create-video-generation"},{"title":"Get Video Generation","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/video/generations/{task_id}","href":"/api/video/get-video-generation"}]},{"group":"Batch","pages":[{"title":"List Batches","description":"List batch jobs for the authenticated key's owner.\n\nReturns MeshAPI's own BatchJob records (unified view across all providers)\nin the OpenAI list format: `{\"object\": \"list\", \"data\": [...], \"has_more\": bool}`.\nSupports cursor-based pagination via `after` (batch_id) and `limit`.","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/batches","href":"/api/batch/list-batches"},{"title":"Create Batch","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/batches","href":"/api/batch/create-batch"},{"title":"Get Batch","description":"Get batch status from the upstream provider.\nUsage logging and billing fire automatically on the first terminal observation.\nWhen the batch is completed and has an output file, the response includes a\n`results` key with the parsed output (list of per-request response objects).","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/batches/{batch_id}","href":"/api/batch/get-batch"},{"title":"Cancel Batch","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/batches/{batch_id}/cancel","href":"/api/batch/cancel-batch"}]},{"group":"Responses","pages":[{"title":"Create Response","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/responses","href":"/api/responses/create-response"},{"title":"Count Response Input Tokens","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/responses/input_tokens","href":"/api/responses/count-response-input-tokens"}]},{"group":"Messages","pages":[{"title":"Create Message","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/messages","href":"/api/messages/create-message"},{"title":"Count Message Tokens","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/messages/count_tokens","href":"/api/messages/count-message-tokens"}]},{"group":"Embeddings","pages":[{"title":"Create Embeddings","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/embeddings","href":"/api/embeddings/create-embeddings"}]},{"group":"Moderations","pages":[{"title":"Classify content against the content policy","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/moderations","href":"/api/moderations/classify-content-against-the-content-policy"}]},{"group":"Evaluate","pages":[{"title":"Make a structured decision","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/evaluate","href":"/api/evaluate/make-a-structured-decision"}]},{"group":"Audio","pages":[{"title":"Create Speech","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/audio/speech","href":"/api/audio/create-speech"},{"title":"Create Transcription","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/audio/transcriptions","href":"/api/audio/create-transcription"},{"title":"Create Translation","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/audio/translations","href":"/api/audio/create-translation"},{"title":"Create Transcription Translate","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/audio/transcriptions/translate","href":"/api/audio/create-transcription-translate"},{"title":"List Voices","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/audio/voices","href":"/api/audio/list-voices"},{"title":"Get Voice","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/audio/voices/{voice_id}","href":"/api/audio/get-voice"}]},{"group":"Router","pages":[{"title":"Router Select","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/router/select","href":"/api/router/router-select"}]},{"group":"Admin Keys","pages":[{"title":"List Admin Keys","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/admin-keys","href":"/api/admin-keys/list-admin-keys"},{"title":"Create Admin Key","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/admin-keys","href":"/api/admin-keys/create-admin-key"},{"title":"Get Admin Key","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/admin-keys/{key_id}","href":"/api/admin-keys/get-admin-key"},{"title":"Revoke Admin Key","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /v1/admin-keys/{key_id}","href":"/api/admin-keys/revoke-admin-key"},{"title":"Rotate Admin Key","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/admin-keys/{key_id}/rotate","href":"/api/admin-keys/rotate-admin-key"}]},{"group":"Balance","pages":[{"title":"Get Balance","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/balance","href":"/api/balance/get-balance"}]},{"group":"Errors","pages":[{"title":"Get Error Catalog","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/errors","href":"/api/errors/get-error-catalog"}]},{"group":"Usage","pages":[{"title":"Query Usage Summary","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/usage","href":"/api/usage/query-usage-summary"},{"title":"Query Usage Events","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/usage/events","href":"/api/usage/query-usage-events"},{"title":"Query Rejections","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/usage/rejections","href":"/api/usage/query-rejections"},{"title":"Get Request","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/usage/requests/{request_id}","href":"/api/usage/get-request"},{"title":"Get Usage Event Attempts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/usage/events/{event_id}/attempts","href":"/api/usage/get-usage-event-attempts"},{"title":"Get Rate Limits","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/usage/rate-limits","href":"/api/usage/get-rate-limits"},{"title":"Get Spend Trend","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/usage/spend-trend","href":"/api/usage/get-spend-trend"}]},{"group":"Audit Logs","pages":[{"title":"List Audit Logs","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/audit-logs","href":"/api/audit-logs/list-audit-logs"},{"title":"Export Audit Logs Csv","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/audit-logs.csv","href":"/api/audit-logs/export-audit-logs-csv"}]},{"group":"Templates","pages":[{"title":"List Catalog","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/templates/catalog","href":"/api/templates/list-catalog"},{"title":"List Categories","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/templates/catalog/categories","href":"/api/templates/list-categories"},{"title":"Enable Template","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/templates/catalog/{template_id}/enable","href":"/api/templates/enable-template"},{"title":"Disable Template","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /v1/templates/catalog/{template_id}/enable","href":"/api/templates/disable-template"},{"title":"List Templates","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/templates","href":"/api/templates/list-templates"},{"title":"Create Template","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/templates","href":"/api/templates/create-template"},{"title":"Get Template","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/templates/{template_id}","href":"/api/templates/get-template"},{"title":"Delete Template","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /v1/templates/{template_id}","href":"/api/templates/delete-template"},{"title":"Update Template","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /v1/templates/{template_id}","href":"/api/templates/update-template"},{"title":"List Versions","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/templates/{template_id}/versions","href":"/api/templates/list-versions"},{"title":"Save Version","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/templates/{template_id}/versions","href":"/api/templates/save-version"},{"title":"Get Version","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/templates/{template_id}/versions/{version_id}","href":"/api/templates/get-version"},{"title":"Publish Template","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/templates/{template_id}/publish","href":"/api/templates/publish-template"},{"title":"Rollback Version","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/templates/{template_id}/versions/{version_id}/rollback","href":"/api/templates/rollback-version"}]},{"group":"Playground","pages":[{"title":"List Threads","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/playground/threads","href":"/api/playground/list-threads"},{"title":"Create Thread","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/playground/threads","href":"/api/playground/create-thread"},{"title":"Get Thread","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/playground/threads/{thread_id}","href":"/api/playground/get-thread"},{"title":"Delete Thread","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /v1/playground/threads/{thread_id}","href":"/api/playground/delete-thread"},{"title":"Update Thread","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /v1/playground/threads/{thread_id}","href":"/api/playground/update-thread"}]},{"group":"Memory","pages":[{"title":"List Memories","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/memories","href":"/api/memory/list-memories"},{"title":"Create Memory","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/memories","href":"/api/memory/create-memory"},{"title":"Memory Usage","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/memories/usage","href":"/api/memory/memory-usage"},{"title":"Memory Counts","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/memories/counts","href":"/api/memory/memory-counts"},{"title":"Get Memory","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/memories/{slug_or_id}","href":"/api/memory/get-memory"},{"title":"Delete Memory","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /v1/memories/{slug_or_id}","href":"/api/memory/delete-memory"},{"title":"Update Memory","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /v1/memories/{slug_or_id}","href":"/api/memory/update-memory"},{"title":"List Memory Items","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/memories/{slug_or_id}/items","href":"/api/memory/list-memory-items"},{"title":"Add Memory Item","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/memories/{slug_or_id}/items","href":"/api/memory/add-memory-item"},{"title":"Revive Expired Items","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/memories/{slug_or_id}/items/revive-expired","href":"/api/memory/revive-expired-items"},{"title":"Delete Memory Item","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /v1/memories/{slug_or_id}/items/{item_id}","href":"/api/memory/delete-memory-item"},{"title":"Update Memory Item","deprecated":null,"version":null,"openapi":"/api/openapi.json patch /v1/memories/{slug_or_id}/items/{item_id}","href":"/api/memory/update-memory-item"}]},{"group":"End users","pages":[{"title":"Erase an end user's identifier","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/end-users/erasures","href":"/api/end-users/erase-an-end-users-identifier"}]},{"group":"API Versions","pages":[{"title":"List dated API versions","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/api-versions","href":"/api/api-versions/list-dated-api-versions"}]},{"group":"Providers","pages":[{"title":"List providers an API key can be pinned to","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/providers/pinnable","href":"/api/providers/list-providers-an-api-key-can-be-pinned-to"},{"title":"List the models one provider serves","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/providers/{provider}/models","href":"/api/providers/list-the-models-one-provider-serves"}]},{"group":"Models","pages":[{"title":"List Models","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/models","href":"/api/models/list-models"},{"title":"Search Models","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/models/search","href":"/api/models/search-models"},{"title":"List a model's providers and their prices","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/models/{model_id}/providers","href":"/api/models/list-a-models-providers-and-their-prices"},{"title":"Get Model","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/models/{model_id}","href":"/api/models/get-model"}]},{"group":"RAG","pages":[{"title":"List Files","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/files","href":"/api/rag/list-files"},{"title":"Init Upload","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/files","href":"/api/rag/init-upload"},{"title":"Get File Status","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/files/{file_id}","href":"/api/rag/get-file-status"},{"title":"Delete File","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /v1/files/{file_id}","href":"/api/rag/delete-file"},{"title":"Trigger Embedding Bulk","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/files/embed","href":"/api/rag/trigger-embedding-bulk"},{"title":"Vector Search","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/files/search","href":"/api/rag/vector-search"}]},{"group":"Web Search","pages":[{"title":"Web Search","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/web/search","href":"/api/web-search/web-search"}]}]}]},{"tab":"SDKs","icon":"code","pages":[{"title":"SDKs","href":"/sdk/overview"}]},{"tab":"Agent","icon":"robot","pages":[{"title":"Agent","href":"/agent/mcp"}]},{"tab":"Troubleshooting","icon":"bug","pages":[{"title":"Troubleshooting","href":"/debug/mesh-api"}]}]},"basePath":"","title":"Create Batch - Mesh API","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-D6S0Yh6q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}