The model id every line of the batch named, as written: openai/<model>, anthropic/<model>, mistral/<model>, amazon/<model>@eu or vertex/<model>@eu, or an alias of it.
What the batch billed, in US dollars, once it finished; null before. Each request that succeeded bills its tokens at the model's batch rates; a failed one, or one that never ran, bills zero. A request that succeeded with no token count bills an estimate at the same rates: its prompt tokens, the output its response shows and a reasoning allowance, the output never above the most the request could produce. A request the provider counts as completed with no result line bills the same estimate with no output shown. When the results cannot be read, every request that may have run bills that estimate.
Whether GET /v3/batches/{batch_id}/results is sure to serve this batch, read from the stored batch with no call to the provider: it has finished, was created at the provider, its recorded provider status is ended, and it was created less than 30 days ago, less one hour (29 days on Anthropic, which keeps results for 29 days: jobs.results_promised_until); past it this reads false, and the results route still tries and answers 410 once the results are gone. False while the batch runs, and for a batch that ended before the provider accepted it. A batch settled past its deadline before the provider ended it reads false, and the results route checks the provider live and can still serve it.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Eden AI Documentation","colors":{"primary":"#3d7cc9","light":"#6aa3e0","dark":"#2a5fa8"},"logo":{"light":"https://mintcdn.com/edenai/UmEpehfvjqdFrnPI/logo/dark.svg?fit=max\u0026auto=format\u0026n=UmEpehfvjqdFrnPI\u0026q=85\u0026s=d255714c3107aff5726601b49d305d9d","dark":"https://mintcdn.com/edenai/5FFg8A2lL0jCIrLn/logo/light.svg?fit=max\u0026auto=format\u0026n=5FFg8A2lL0jCIrLn\u0026q=85\u0026s=b6712983028369a6295728edc7d01664","href":"https://edenai.co"},"favicon":{"light":"https://mintcdn.com/edenai/UmEpehfvjqdFrnPI/images/favicon-dark.png?fit=max\u0026auto=format\u0026n=UmEpehfvjqdFrnPI\u0026q=85\u0026s=db4a5c60d344c859d15d8a894517422c","dark":"https://mintcdn.com/edenai/5FFg8A2lL0jCIrLn/images/favicon.png?fit=max\u0026auto=format\u0026n=5FFg8A2lL0jCIrLn\u0026q=85\u0026s=f807aac28a69e31f718485f7100419de"},"navbar":{"links":[{"href":"#chat","label":"Chat with us"},{"href":"https://edenai.co/","label":"Website"},{"href":"https://app-edenai.instatus.com/","label":"Status"}],"primary":{"type":"button","label":"To the App","href":"https://app.edenai.run/"}},"footer":{"socials":{"github":"https://github.com/edenai","linkedin":"https://www.linkedin.com/company/edenai","discord":"https://discord.gg/VYwTbMQc8u","youtube":"https://www.youtube.com/@edenai2254"},"links":[{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://www.edenai.co/privacy"},{"label":"Manage cookies","href":"#manage-cookies"}]}]},"seo":{"metatags":{"canonical":"https://www.edenai.co/docs"}},"integrations":{"hotjar":{"hjid":"6654925","hjsv":"6"},"intercom":{"appId":"we8gfv17"},"cookies":{"key":"edenai-cookie-consent","value":"accepted"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"edenai","hasAudioNarration":false,"actualSubdomain":"edenai","customDomains":["www.edenai.co"],"gitSource":{"type":"github","owner":"edenai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"edits":true,"thumbs":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af3c576039e3802f23b7414","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"V3 Documentation","count":121},{"language":"default","tag":"V3 API Reference","count":77},{"language":"default","tag":"AI Features","count":57},{"language":"default","tag":"Expert Models","count":41},{"language":"default","tag":"Integrations","count":32},{"language":"default","tag":"LLMs","count":20},{"language":"default","tag":"Organization Management","count":20},{"language":"default","tag":"Image Features","count":11},{"language":"default","tag":"Coding Agents","count":11},{"language":"default","tag":"General","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":false,"showHelpButton":true}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"cookie-consent.css","content":"#cc-main{--cc-btn-primary-bg: #3d7cc9;--cc-btn-primary-hover-bg: #2a5fa8;--cc-btn-primary-border-color: #3d7cc9;--cc-btn-primary-hover-border-color: #2a5fa8;--cc-toggle-on-bg: #3d7cc9;--cc-link-color: #3d7cc9}"}],"page":{"pagePath":"api-reference/batches/retrieve-batch","slug":"/api-reference/batches/retrieve-batch","pageMetadata":{"title":"Retrieve Batch","description":"Get a batch: its status, request counts and, once it has settled, its cost.","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/batches/{batch_id}","href":"/api-reference/batches/retrieve-batch","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get a batch: its status, request counts and, once it has settled, its cost.\"\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":"Retrieve Batch","description":"Get a batch: its status, request counts and, once it has settled, its cost.","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/batches/{batch_id}","href":"/api-reference/batches/retrieve-batch","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/edenai/d7b6320a7822e7bc/cookie-consent.js","/docs/_mintlify/custom/edenai/1e452f31ce3e9914/intercom-chat.js"],"openApiReferenceData":{"operation":{"tags":["Batches"],"summary":"Retrieve Batch","description":"Get a batch: its status, request counts and, once it has settled, its cost.","operationId":"retrieve_batch_v3_batches__batch_id__get","security":["162dc065-a1d0-462e-90d3-53bcf88d333e"],"parameters":["73e38e11-0295-4322-83b2-4b8ac79c19ba"],"responses":{"200":"1eea3920-2c6f-4b83-afa3-9b1d79fef8bc","422":"87d97feb-f089-4545-b00f-4feff2d8dc6a"},"method":"get","type":"path","servers":["118a695c-4007-450b-b634-8e8af5c32e22"],"path":"/v3/batches/{batch_id}","baseUrlOptions":["https://api.edenai.run"],"title":"Retrieve Batch","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"73e38e11-0295-4322-83b2-4b8ac79c19ba":{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","description":"The batch id: the `id` the create call returned.","title":"Batch Id","isRequired":true,"uniqueKey":"","typeLabel":"string"},"description":"The batch id: the `id` the create call returned."}},"responses":{"1eea3920-2c6f-4b83-afa3-9b1d79fef8bc":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"id":{"type":"string","title":"Id","description":"The batch id.","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"model":{"type":"string","title":"Model","description":"The model id every line of the batch named, as written: `openai/\u003cmodel>`, `anthropic/\u003cmodel>`, `mistral/\u003cmodel>`, `amazon/\u003cmodel>@eu` or `vertex/\u003cmodel>@eu`, or an alias of it.","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"status":{"type":"string","enum":["validating","in_progress","finalizing","completed","failed","expired","cancelling","cancelled"],"title":"Status","description":"Where the batch is in its lifecycle.","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"created_at":{"type":"integer","title":"Created At","description":"When the batch was created, Unix seconds.","isRequired":true,"uniqueKey":"created_at","typeLabel":"integer"},"object":{"type":"string","const":"batch","title":"Object","description":"Always `batch`.","default":"batch","uniqueKey":"object","typeLabel":"string"},"endpoint":{"type":"string","title":"Endpoint","description":"The endpoint every request of the batch calls.","default":"/v1/chat/completions","uniqueKey":"endpoint","typeLabel":"string"},"request_counts":{"properties":{"total":{"type":"integer","title":"Total","description":"Requests in the batch.","default":0,"uniqueKey":"request_counts.total","typeLabel":"integer"},"completed":{"type":"integer","title":"Completed","description":"Requests that succeeded.","default":0,"uniqueKey":"request_counts.completed","typeLabel":"integer"},"failed":{"type":"integer","title":"Failed","description":"Requests that failed.","default":0,"uniqueKey":"request_counts.failed","typeLabel":"integer"}},"type":"object","title":"BatchRequestCounts","description":"How many requests have finished, refreshed every few minutes.","uniqueKey":"request_counts","typeLabel":"BatchRequestCounts · object"},"metadata":{"oneOf":[{"type":"object","title":"Metadata","description":"The key/value pairs given at create.","additionalProperties":{"type":"string","uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"metadata.oneOf.0","typeLabel":"Metadata · object"},{"type":"null","title":"Metadata","description":"The key/value pairs given at create.","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"Metadata · object | null"},"finished_at":{"oneOf":[{"type":"integer","title":"Finished At","description":"When the batch finished and settled, Unix seconds.","uniqueKey":"finished_at.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Finished At","description":"When the batch finished and settled, Unix seconds.","uniqueKey":"finished_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"finished_at","typeLabel":"integer | null"},"cost":{"oneOf":[{"type":"string","title":"Cost","description":"What the batch billed, in US dollars, once it finished; null before. Each request that succeeded bills its tokens at the model's batch rates; a failed one, or one that never ran, bills zero. A request that succeeded with no token count bills an estimate at the same rates: its prompt tokens, the output its response shows and a reasoning allowance, the output never above the most the request could produce. A request the provider counts as completed with no result line bills the same estimate with no output shown. When the results cannot be read, every request that may have run bills that estimate.","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","uniqueKey":"cost.oneOf.0","typeLabel":"string"},{"type":"null","title":"Cost","description":"What the batch billed, in US dollars, once it finished; null before. Each request that succeeded bills its tokens at the model's batch rates; a failed one, or one that never ran, bills zero. A request that succeeded with no token count bills an estimate at the same rates: its prompt tokens, the output its response shows and a reasoning allowance, the output never above the most the request could produce. A request the provider counts as completed with no result line bills the same estimate with no output shown. When the results cannot be read, every request that may have run bills that estimate.","uniqueKey":"cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"cost","typeLabel":"string | null"},"error":{"oneOf":[{"type":"string","title":"Error","description":"Why the batch failed, when it did.","uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","description":"Why the batch failed, when it did.","uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"string | null"},"results_available":{"type":"boolean","title":"Results Available","description":"Whether `GET /v3/batches/{batch_id}/results` is sure to serve this batch, read from the stored batch with no call to the provider: it has finished, was created at the provider, its recorded provider status is ended, and it was created less than 30 days ago, less one hour (29 days on Anthropic, which keeps results for 29 days: `jobs.results_promised_until`); past it this reads false, and the results route still tries and answers 410 once the results are gone. False while the batch runs, and for a batch that ended before the provider accepted it. A batch settled past its deadline before the provider ended it reads false, and the results route checks the provider live and can still serve it.","default":false,"uniqueKey":"results_available","typeLabel":"boolean"}},"type":"object","required":["id","model","status","created_at"],"title":"BatchObject","description":"A chat batch.","uniqueKey":"","typeLabel":"BatchObject · object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","model":"\u003cstring>","status":"validating","created_at":123,"object":"batch","endpoint":"/v1/chat/completions","request_counts":{"total":0,"completed":0,"failed":0},"metadata":{},"finished_at":123,"cost":"\u003cstring>","error":"\u003cstring>","results_available":false}}},"exampleType":"generated"}},"exampleType":"generated"},"87d97feb-f089-4545-b00f-4feff2d8dc6a":{"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"}},"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>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"162dc065-a1d0-462e-90d3-53bcf88d333e":{"AuthBearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"AuthBearer"}}},"servers":{"118a695c-4007-450b-b634-8e8af5c32e22":{"url":"https://api.edenai.run","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"AuthBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"AuthBearer","name":"Authorization"}],"title":"AuthBearer"}]},"originalFileLocation":"https://api.edenai.run/v3/docs/openapi.json"},"subdomain":"edenai","siteName":"Eden AI Documentation","title":"Retrieve Batch - Eden AI Documentation","navMaps":{"firstHrefInVersion":{"V3":{"href":"/api-reference/batches/retrieve-batch","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-11-11T01:31:40.064Z","originalFileLocation":"api-reference/batches/retrieve-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=\"Get a batch: its status, request counts and, once it has settled, its cost.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Eden AI Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_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=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Retrieve Batch - Eden AI Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get a batch: its status, request counts and, once it has settled, its cost.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Eden AI Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.edenai.co/docs/api-reference/batches/retrieve-batch\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://edenai.mintlify.site/docs/_mintlify/api/og/v2?division=Batches\u0026amp;title=Retrieve+Batch\u0026amp;description=Get+a+batch%3A+its+status%2C+request+counts+and%2C+once+it+has+settled%2C+its+cost.\u0026amp;theme=120b02b6627196279f8df944\u0026amp;signature=c64d5eb6c50d30593f6083501b6827696d309a7987a3aa7c266e9d6f8f1f21c2\">\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=\"Retrieve Batch - Eden AI Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get a batch: its status, request counts and, once it has settled, its cost.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://edenai.mintlify.site/docs/_mintlify/api/og/v2?division=Batches\u0026amp;title=Retrieve+Batch\u0026amp;description=Get+a+batch%3A+its+status%2C+request+counts+and%2C+once+it+has+settled%2C+its+cost.\u0026amp;theme=120b02b6627196279f8df944\u0026amp;signature=c64d5eb6c50d30593f6083501b6827696d309a7987a3aa7c266e9d6f8f1f21c2\">\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=\"/docs/mintlify-assets/_mintlify/favicons/edenai/Yi6z66C_sKLEtFzL/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Eden AI Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3d7cc9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.edenai.co/docs/api-reference/batches/retrieve-batch\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/batches/retrieve-batch.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.edenai.co/#organization\",\"name\":\"Eden AI Documentation\",\"url\":\"https://www.edenai.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/edenai/UmEpehfvjqdFrnPI/logo/dark.svg?fit=max\u0026auto=format\u0026n=UmEpehfvjqdFrnPI\u0026q=85\u0026s=d255714c3107aff5726601b49d305d9d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.edenai.co/docs#website\",\"name\":\"Eden AI Documentation\",\"url\":\"https://www.edenai.co/docs\",\"publisher\":{\"@id\":\"https://www.edenai.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.edenai.co/docs/api-reference/batches/retrieve-batch#webpage\",\"url\":\"https://www.edenai.co/docs/api-reference/batches/retrieve-batch\",\"name\":\"Retrieve Batch\",\"description\":\"Get a batch: its status, request counts and, once it has settled, its cost.\",\"dateModified\":\"2026-11-11T01:31:40.064Z\",\"isPartOf\":{\"@id\":\"https://www.edenai.co/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.edenai.co/docs/api-reference/batches/retrieve-batch#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.edenai.co/docs/api-reference/batches/retrieve-batch#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI Features\",\"item\":\"https://www.edenai.co/docs/api-reference/info/list-features\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Batches\",\"item\":\"https://www.edenai.co/docs/api-reference/batches/list-batches\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Retrieve Batch\",\"item\":\"https://www.edenai.co/docs/api-reference/batches/retrieve-batch\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.edenai.co/docs/api-reference/batches/retrieve-batch#apireference\",\"headline\":\"Retrieve Batch\",\"name\":\"Retrieve Batch\",\"description\":\"Get a batch: its status, request counts and, once it has settled, its cost.\",\"url\":\"https://www.edenai.co/docs/api-reference/batches/retrieve-batch\",\"mainEntityOfPage\":{\"@id\":\"https://www.edenai.co/docs/api-reference/batches/retrieve-batch#webpage\"},\"dateModified\":\"2026-11-11T01:31:40.064Z\",\"publisher\":{\"@id\":\"https://www.edenai.co/#organization\"},\"isPartOf\":{\"@id\":\"https://www.edenai.co/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Eden AI Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Eden AI Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/batches/retrieve-batch.md","siteName":"Eden AI Documentation","nav":{"global":null,"versions":[{"version":"V3","tabs":[{"tab":"V3 Documentation","pages":[{"title":"V3 Documentation","href":""}]},{"tab":"V3 API Reference","groups":[{"group":"AI Features","pages":[{"group":"info","pages":[{"title":"List Features","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/info","href":"/api-reference/info/list-features"},{"title":"List Subfeatures","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/info/{feature}","href":"/api-reference/info/list-subfeatures"},{"title":"List Tts Voices","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/info/audio/tts/voices","href":"/api-reference/info/list-tts-voices"},{"title":"Get Feature Info","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/info/{feature}/{subfeature}","href":"/api-reference/info/get-feature-info"}]},{"group":"Chat","pages":[{"title":"Chat Completions","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/chat/completions","href":"/api-reference/chat/chat-completions"}]},{"group":"Responses","pages":[{"title":"Create Response","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/responses","href":"/api-reference/responses/create-response"},{"title":"Retrieve Response","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/responses/{response_id}","href":"/api-reference/responses/retrieve-response"},{"title":"Delete Response","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/responses/{response_id}","href":"/api-reference/responses/delete-response"}]},{"group":"Moderations","pages":[{"title":"Create Moderation","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/moderations","href":"/api-reference/moderations/create-moderation"},{"title":"List Moderation Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/moderations/models","href":"/api-reference/moderations/list-moderation-models"}]},{"group":"Embeddings","pages":[{"title":"Create Embeddings","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/embeddings","href":"/api-reference/embeddings/create-embeddings"},{"title":"List Embeddings Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/embeddings/models","href":"/api-reference/embeddings/list-embeddings-models"}]},{"group":"Anthropic Messages","pages":[{"title":"Create Anthropic Message","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/v1/messages","href":"/api-reference/anthropic-messages/create-anthropic-message"},{"title":"Count Anthropic Tokens","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/v1/messages/count_tokens","href":"/api-reference/anthropic-messages/count-anthropic-tokens"}]},{"group":"Decisions","pages":[{"title":"Create Decisions","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/alpha/decisions","href":"/api-reference/decisions/create-decisions"},{"title":"List Decisions Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/alpha/decisions/models","href":"/api-reference/decisions/list-decisions-models"}]},{"group":"Rerank","pages":[{"title":"Create Rerank","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/rerank","href":"/api-reference/rerank/create-rerank"},{"title":"List Rerank Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/rerank/models","href":"/api-reference/rerank/list-rerank-models"}]},{"group":"Images","pages":[{"title":"Image Generations","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/images/generations","href":"/api-reference/images/image-generations"},{"title":"Image Edits","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/images/edits","href":"/api-reference/images/image-edits"},{"title":"List Image Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/images/models","href":"/api-reference/images/list-image-models"}]},{"group":"Audio","pages":[{"title":"Audio Transcriptions","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/audio/transcriptions","href":"/api-reference/audio/audio-transcriptions"},{"title":"List Transcription Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/audio/transcriptions/models","href":"/api-reference/audio/list-transcription-models"},{"title":"Audio Speech","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/audio/speech","href":"/api-reference/audio/audio-speech"},{"title":"List Speech Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/audio/speech/models","href":"/api-reference/audio/list-speech-models"},{"title":"List Speech Voices","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/audio/voices","href":"/api-reference/audio/list-speech-voices"}]},{"group":"Videos","pages":[{"title":"List Videos","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/videos","href":"/api-reference/videos/list-videos"},{"title":"Create Video","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/videos","href":"/api-reference/videos/create-video"},{"title":"List Video Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/videos/models","href":"/api-reference/videos/list-video-models"},{"title":"Retrieve Video","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/videos/{video_id}","href":"/api-reference/videos/retrieve-video"},{"title":"Delete Video","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/videos/{video_id}","href":"/api-reference/videos/delete-video"},{"title":"Download Video Content","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/videos/{video_id}/content","href":"/api-reference/videos/download-video-content"}]},{"group":"Search","pages":[{"title":"Search","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/search","href":"/api-reference/search/search"},{"title":"List Search Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/search/models","href":"/api-reference/search/list-search-models"},{"title":"Search With Provider","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/search/{provider}","href":"/api-reference/search/search-with-provider"}]},{"group":"Batches","pages":[{"title":"List Batches","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/batches","href":"/api-reference/batches/list-batches"},{"title":"Create Batch","description":"Create a chat batch.\n\nSend the JSONL file as the `file` part of a multipart form, or upload it first with\nPOST /v3/upload with `purpose` set to `batch` and send its `file_id` as `input_file_id`\nin a JSON body, the shape the\nOpenAI SDK's `batches.create` sends. Both are validated the same way.\n\nThe batch runs on the model's provider, OpenAI, Anthropic, Mistral, Amazon Bedrock or\nVertex AI, within 24 hours at the\nmodel's batch rates. Batch `metadata` is kept by Eden AI and sent to OpenAI and Mistral. Poll\nGET /v3/batches/{batch_id} until `status` is `completed`, `failed`, `expired` or\n`cancelled`, then read the results from GET /v3/batches/{batch_id}/results.","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/batches","href":"/api-reference/batches/create-batch"},{"title":"Retrieve Batch","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/batches/{batch_id}","href":"/api-reference/batches/retrieve-batch"},{"title":"Cancel Batch","description":"Cancel a batch. The requests that already completed are billed and their results stay\navailable; the batch reads `cancelling` until the provider has stopped it.","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/batches/{batch_id}/cancel","href":"/api-reference/batches/cancel-batch"},{"title":"Batch Results","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/batches/{batch_id}/results","href":"/api-reference/batches/batch-results"}]},{"group":"Models","pages":[{"title":"List Models","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/models","href":"/api-reference/models/list-models"}]},{"group":"universal-ai","pages":[{"title":"Universal Ai","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/universal-ai","href":"/api-reference/universal-ai/universal-ai"},{"title":"List Async Jobs","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/universal-ai/async","href":"/api-reference/universal-ai/list-async-jobs"},{"title":"Create Async Job","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/universal-ai/async","href":"/api-reference/universal-ai/create-async-job"},{"title":"Get Async Job","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/universal-ai/async/{job_id}","href":"/api-reference/universal-ai/get-async-job"},{"title":"Delete Async Job","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/universal-ai/async/{job_id}","href":"/api-reference/universal-ai/delete-async-job"}]},{"group":"collections","pages":[{"title":"List Collections","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/universal-ai/collections","href":"/api-reference/collections/list-collections"},{"title":"Create Collection","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/universal-ai/collections","href":"/api-reference/collections/create-collection"},{"title":"Get Collection","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/universal-ai/collections/{collection_id}","href":"/api-reference/collections/get-collection"},{"title":"Delete Collection","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/universal-ai/collections/{collection_id}","href":"/api-reference/collections/delete-collection"},{"title":"List Items","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/universal-ai/collections/{collection_id}/items","href":"/api-reference/collections/list-items"},{"title":"Add Item","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/universal-ai/collections/{collection_id}/items","href":"/api-reference/collections/add-item"},{"title":"Delete Item","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/universal-ai/collections/{collection_id}/items/{item_id}","href":"/api-reference/collections/delete-item"}]},{"group":"files management","pages":[{"title":"List Files","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json get /v3/upload","href":"/api-reference/files-management/list-files"},{"title":"Upload File","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/upload","href":"/api-reference/files-management/upload-file"},{"title":"Delete All Files","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json delete /v3/upload","href":"/api-reference/files-management/delete-all-files"},{"title":"Delete Files By Ids","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v3/docs/openapi.json post /v3/upload/delete","href":"/api-reference/files-management/delete-files-by-ids"}]}]},{"group":"Organization Management","pages":[{"group":"Management Keys","pages":[{"title":"List management keys","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/auth-keys/","href":"/api-reference/management-keys/list-management-keys"},{"title":"Create a management key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json post /v3/manage/auth-keys/","href":"/api-reference/management-keys/create-a-management-key"},{"title":"Revoke a management key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json delete /v3/manage/auth-keys/{key_id}/","href":"/api-reference/management-keys/revoke-a-management-key"},{"title":"Inspect the calling management key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/whoami/","href":"/api-reference/management-keys/inspect-the-calling-management-key"}]},{"group":"Groups","pages":[{"title":"List groups","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/groups/","href":"/api-reference/groups/list-groups"},{"title":"Retrieve a group","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/groups/{external_group_id}/","href":"/api-reference/groups/retrieve-a-group"}]},{"group":"API Keys","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/keys/","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create an API key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json post /v3/manage/keys/","href":"/api-reference/api-keys/create-an-api-key"},{"title":"Retrieve an API key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/keys/{key_id}/","href":"/api-reference/api-keys/retrieve-an-api-key"},{"title":"Revoke an API key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json delete /v3/manage/keys/{key_id}/","href":"/api-reference/api-keys/revoke-an-api-key"},{"title":"Update an API key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json patch /v3/manage/keys/{key_id}/","href":"/api-reference/api-keys/update-an-api-key"},{"title":"Rotate an API key","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json post /v3/manage/keys/{key_id}/rotate/","href":"/api-reference/api-keys/rotate-an-api-key"}]},{"group":"Usage","pages":[{"title":"Get an API key's usage","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/keys/{key_id}/usage/","href":"/api-reference/usage/get-an-api-keys-usage"},{"title":"Get organization usage","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/usage/","href":"/api-reference/usage/get-organization-usage"}]},{"group":"Members","pages":[{"title":"List members","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/members/","href":"/api-reference/members/list-members"},{"title":"Set a member's role","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json patch /v3/manage/members/{email}/role/","href":"/api-reference/members/set-a-members-role"}]},{"group":"Routing Policies","pages":[{"title":"List routing policies","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/routing-policies/","href":"/api-reference/routing-policies/list-routing-policies"},{"title":"Get a routing policy","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json get /v3/manage/routing-policies/{name}/","href":"/api-reference/routing-policies/get-a-routing-policy"},{"title":"Create or replace a routing policy","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json put /v3/manage/routing-policies/{name}/","href":"/api-reference/routing-policies/create-or-replace-a-routing-policy"},{"title":"Delete a routing policy","deprecated":null,"version":null,"openapi":"https://api.edenai.run/v2/info/splitted-schema/management_api/openapi.json delete /v3/manage/routing-policies/{name}/","href":"/api-reference/routing-policies/delete-a-routing-policy"}]}]}]}]}]},"basePath":"","title":"Retrieve Batch - Eden AI Documentation","buildId":"dpl_6PxPD4Fj1JDU9BJxEHvfdUmxKThw","deploymentId":"dpl_6PxPD4Fj1JDU9BJxEHvfdUmxKThw","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CASS2Vpq.js","utils-4k9fyWRu.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-UU-UueZb.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BgJ0LOYq.js","snippetPresets-CMgzlMR-.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BzEJegkK.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CZuQIZdk.js","shallow-Bw5arfMA.js","getApiPlaygroundDisplay-Ds834aVN.js","CodeSnippet-CKzmjw9L.js","CodeSnippets-BRpgomdp.js","Page-DvEUoD2H.js","getPastedJson-B0N-Tn76.js","icon-DASMs9nC.js","MethodPill-BA6DBLqx.js","DuplicateIcon-BMT5qfbJ.js","createIcon-CNfwVWPx.js","DynamicMarkdown-JYyBNlrJ.js","SectionHeading-BbZnmz8a.js","axios-vUo_bRtp.js","Markdown-LUU0YLpA.js","clsx-Di4ek5Ae.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-VEVWQCR4.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CPszyu99.js"]}