{
"code": "GATEWAY_TIMEOUT",
"message": "The server took too long to respond"
}
Authorizations
X-Aftercare-Key
string
header
required
API key for authentication
Path Parameters
batchJobId
string
required
ID of the batch coding job to check
Response
Batch coding job status retrieved successfully
batchJobId
string
required
Unique identifier for the coding job
Example:
"123e4567-e89b-12d3-a456-426614174000"
surveyIdentifier
string
required
Unique identifier for the survey
Example:
"CSAT-2024-Q1"
status
enum<string>
required
Status of the batch job that determines the structure of results
Available options:
queued,
processing,
completed,
partial_failure,
total_failure
results
Success Response · object
The results structure depends on the status value. If the job is successful, the results will be a list of question codes with a hierarchical tree of codes and subcodes. If the job fails, the results will be the error details.
Success Response
Error Response
Show child attributes
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Starter Kit","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"favicon":"/favicon.svg","logo":{"light":"https://mintcdn.com/aftercare/e1mHkmMes6jz1ugc/logo/logo.png?fit=max\u0026auto=format\u0026n=e1mHkmMes6jz1ugc\u0026q=85\u0026s=30ff22f1cb78b1ef23d5d22b8bb02d36","dark":"https://mintcdn.com/aftercare/e1mHkmMes6jz1ugc/logo/logo-white.png?fit=max\u0026auto=format\u0026n=e1mHkmMes6jz1ugc\u0026q=85\u0026s=d718f8b2f395079a8cd8f01bf7ac370b"},"navbar":{"links":[{"label":"Support","href":"mailto:anand@getaftercare.com"}],"primary":{"type":"button","label":"Dashboard","href":"https://surveys.getaftercare.com"}},"footer":{"socials":{"x":"https://x.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://linkedin.com/company/mintlify"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Discord","href":"https://discord.gg/Rn2yZ3He","icon":"discord"},{"anchor":"Slack","href":"https://join.slack.com/t/aftercareusers/shared_invite/zt-30ezqu0sy-0YybIITmOcx5BEpdR3mWCQ","icon":"slack"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aftercare","hasAudioNarration":false,"actualSubdomain":"aftercare","customDomains":["docs.getaftercare.com"],"gitSource":{"type":"github","owner":"kontractify","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae923e17d386b1c81efd641:success","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Documentation","count":12},{"language":"default","tag":"Get Started","count":8},{"language":"default","tag":"API Reference","count":8},{"language":"default","tag":"Integrations","count":5},{"language":"default","tag":"Core Products","count":4},{"language":"default","tag":"AI Coding","count":3},{"language":"default","tag":"AI Data Quality Evaluation","count":3},{"language":"default","tag":"AI Followup Generation","count":1},{"language":"default","tag":"API Documentation","count":1}]},"assistantConfig":{},"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":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/coding/get","slug":"/api-reference/coding/get","pageMetadata":{"title":"Get AI Coding Batch Job Results","openapi":"GET /api/v1/coding/{batchJobId}","description":"Retrieves the current status and results of a batch coding job","href":"/api-reference/coding/get","hidden":false},"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: \"Retrieves the current status and results of a batch coding job\"\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":"Get AI Coding Batch Job Results","openapi":"GET /api/v1/coding/{batchJobId}","description":"Retrieves the current status and results of a batch coding job","href":"/api-reference/coding/get","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Coding"],"summary":"Get batch coding job status","description":"Retrieves the current status and results of a batch coding job","operationId":"getBatchCodingJobStatus","security":["b57d0fce-f304-44b6-ac31-a8f3b0b2ab89"],"x-codeSamples":[{"lang":"JavaScript","source":"const response = await api.coding.getBatchJobStatus('123e4567-e89b-12d3-a456-426614174000');"},{"lang":"Python","source":"response = api.coding.get_batch_job_status('123e4567-e89b-12d3-a456-426614174000')"}],"parameters":["a67bbb30-8495-4896-b4fe-5c954c0202d8"],"responses":{"200":"3eb721a1-ff11-4ca0-a52d-7b7a72a51e3b","400":"ddcee215-84f2-41c9-b0d5-9a4fe09a4f43","403":"6a6b0022-b2e8-42e8-958a-cf8d051c77a5","404":"12a649b6-1ce0-4ffd-a93f-958a55613927","500":"392110db-c5c8-41d2-90b4-10a0cbffb1bb","504":"358f3342-9514-4998-9b73-cbdd135cf75d"},"method":"get","type":"path","servers":["e7cb3cb4-2e43-4c33-aa9b-d8ac8fd02c5c","7e3bd66b-b069-43c1-a556-b9b888563097"],"path":"/api/v1/coding/{batchJobId}","baseUrlOptions":["https://surveys.getaftercare.com","https://staging.aftercareai.com"],"title":"Get batch coding job status","codeSamples":[{"lang":"JavaScript","source":"const response = await api.coding.getBatchJobStatus('123e4567-e89b-12d3-a456-426614174000');"},{"lang":"Python","source":"response = api.coding.get_batch_job_status('123e4567-e89b-12d3-a456-426614174000')"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"a67bbb30-8495-4896-b4fe-5c954c0202d8":{"name":"batchJobId","in":"path","required":true,"description":"ID of the batch coding job to check","schema":{"type":"string","isRequired":true,"description":"ID of the batch coding job to check","uniqueKey":"","typeLabel":"string"}}},"responses":{"3eb721a1-ff11-4ca0-a52d-7b7a72a51e3b":{"description":"Batch coding job status retrieved successfully","content":{"application/json":{"schema":{"type":"object","required":["batchJobId","surveyIdentifier","status"],"properties":{"batchJobId":{"type":"string","description":"Unique identifier for the coding job","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"batchJobId","typeLabel":"string"},"surveyIdentifier":{"type":"string","description":"Unique identifier for the survey","example":"CSAT-2024-Q1","isRequired":true,"uniqueKey":"surveyIdentifier","typeLabel":"string"},"status":{"type":"string","enum":["queued","processing","completed","partial_failure","total_failure"],"description":"Status of the batch job that determines the structure of results","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"results":{"oneOf":[{"type":"object","title":"Success Response","description":"The results structure depends on the status value. If the job is successful, the results will be a list of question codes with a hierarchical tree of codes and subcodes. If the job fails, the results will be the error details.","required":["completedAt","questionCodes"],"properties":{"completedAt":{"type":"string","format":"date-time","description":"When the batch job completed processing","example":"2024-03-12T15:30:45Z","isRequired":true,"uniqueKey":"results.oneOf.0.completedAt","typeLabel":"string\u003cdate-time>"},"questionCodes":{"type":"array","description":"Coding results organized by question identifier. Each question will have its own hierarchical category tree.","items":{"type":"object","required":["questionIdentifier","question","responseCodes"],"properties":{"questionIdentifier":{"type":"string","description":"Unique identifier for the question.","example":"Q1","isRequired":true,"uniqueKey":"results.oneOf.0.questionCodes.items.[INDEX].questionIdentifier","typeLabel":"string"},"question":{"type":"string","description":"The question text.","example":"What did you like about our service?","isRequired":true,"uniqueKey":"results.oneOf.0.questionCodes.items.[INDEX].question","typeLabel":"string"},"responseCodes":{"type":"array","description":"Hierarchical code tree for this specific question. Codes can have subcodes forming a tree structure.","items":{"type":"object","required":["id","label","responses","subCodes"],"properties":{"id":{"type":"integer","description":"Unique identifier for this code","example":1,"isRequired":true,"uniqueKey":"results.oneOf.0.questionCodes.items.[INDEX].responseCodes.items.[INDEX].id","typeLabel":"integer"},"label":{"type":"string","description":"Label of the code","example":"Customer Service Quality","isRequired":true,"uniqueKey":"results.oneOf.0.questionCodes.items.[INDEX].responseCodes.items.[INDEX].label","typeLabel":"string"},"responses":{"type":"array","description":"The responses that were classified into this code","items":{"type":"object","required":["responseIdentifier","answer"],"properties":{"responseIdentifier":{"type":"string","description":"Unique identifier for this response entry","example":"resp-123","isRequired":true,"uniqueKey":"results.oneOf.0.questionCodes.items.[INDEX].responseCodes.items.[INDEX].responses.items.[INDEX].responseIdentifier","typeLabel":"string"},"answer":{"type":"string","description":"The respondent's answer to the question","example":"I really enjoy the battery life.","isRequired":true,"uniqueKey":"results.oneOf.0.questionCodes.items.[INDEX].responseCodes.items.[INDEX].responses.items.[INDEX].answer","typeLabel":"string"},"followupResponses":{"type":"array","description":"Any follow-up question/answer pairs for this response","items":{"type":"object","required":["question","answer"],"properties":{"question":{"type":"string","description":"The follow-up question that was asked","example":"What features of our product stood out most?","isRequired":true,"uniqueKey":"results.oneOf.0.questionCodes.items.[INDEX].responseCodes.items.[INDEX].responses.items.[INDEX].followupResponses.items.[INDEX].question","typeLabel":"string"},"answer":{"type":"string","description":"The answer provided to the follow-up","example":"I loved the night-vision mode.","isRequired":true,"uniqueKey":"results.oneOf.0.questionCodes.items.[INDEX].responseCodes.items.[INDEX].responses.items.[INDEX].followupResponses.items.[INDEX].answer","typeLabel":"string"}},"uniqueKey":"results.oneOf.0.questionCodes.items.[INDEX].responseCodes.items.[INDEX].responses.items.[INDEX].followupResponses.items.[INDEX]","typeLabel":"object"},"uniqueKey":"results.oneOf.0.questionCodes.items.[INDEX].responseCodes.items.[INDEX].responses.items.[INDEX].followupResponses","typeLabel":"object[]"}},"uniqueKey":"results.oneOf.0.questionCodes.items.[INDEX].responseCodes.items.[INDEX].responses.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"results.oneOf.0.questionCodes.items.[INDEX].responseCodes.items.[INDEX].responses","typeLabel":"object[]"},"subCodes":{"type":"array","description":"More specific codes classified under this code that can be used to further classify the responses","items":{"$circularRef":"7a07e527-c9a4-4a01-86dc-dbef6cd1ef60"},"isRequired":true,"uniqueKey":"results.oneOf.0.questionCodes.items.[INDEX].responseCodes.items.[INDEX].subCodes","typeLabel":"array"}},"uniqueKey":"results.oneOf.0.questionCodes.items.[INDEX].responseCodes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"results.oneOf.0.questionCodes.items.[INDEX].responseCodes","typeLabel":"object[]"}},"uniqueKey":"results.oneOf.0.questionCodes.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"results.oneOf.0.questionCodes","typeLabel":"object[]"},"nextCursor":{"oneOf":[{"type":"string","description":"Cursor for the next page of results. Null if there are no more results.","example":null,"uniqueKey":"results.oneOf.0.nextCursor.oneOf.0","typeLabel":"string"},{"type":"null","description":"Cursor for the next page of results. Null if there are no more results.","example":null,"uniqueKey":"results.oneOf.0.nextCursor.oneOf.1","typeLabel":"null"}],"uniqueKey":"results.oneOf.0.nextCursor","typeLabel":"string | null"}},"uniqueKey":"results.oneOf.0","typeLabel":"Success Response · object"},{"type":"object","title":"Error Response","description":"The results structure depends on the status value. If the job is successful, the results will be a list of question codes with a hierarchical tree of codes and subcodes. If the job fails, the results will be the error details.","required":["code","message"],"properties":{"code":{"type":"string","description":"Error code identifying the type of failure","example":"PROCESSING_ERROR","isRequired":true,"uniqueKey":"results.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"Description of the error","example":"Failed to process survey responses","isRequired":true,"uniqueKey":"results.oneOf.1.message","typeLabel":"string"}},"uniqueKey":"results.oneOf.1","typeLabel":"Error Response · object"}],"uniqueKey":"results","typeLabel":"Success Response · object | Error Response · object"}},"uniqueKey":"","typeLabel":"object"},"example":{"batchJobId":"123e4567-e89b-12d3-a456-426614174000","surveyIdentifier":"CSAT-2024-Q1","status":"completed","results":{"completedAt":"2024-03-12T15:30:45Z","questionCodes":[{"questionIdentifier":"Q1","question":"What did you like about our service?","responseCodes":[{"id":1,"label":"Customer Service Quality","responses":[{"responseIdentifier":"12345","answer":"The customer service representatives were very helpful and resolved my issue quickly."}],"subCodes":[{"id":11,"label":"Staff Helpfulness","responses":[{"responseIdentifier":"12345","answer":"The customer service representatives were very helpful and resolved my issue quickly."}],"subCodes":[]}]},{"id":2,"label":"Delivery","responses":[{"responseIdentifier":"12346","answer":"I liked the easy-to-use website and fast delivery."}],"subCodes":[]}]}],"nextCursor":null}},"examples":{"Example":{"title":"Example","value":{"batchJobId":"123e4567-e89b-12d3-a456-426614174000","surveyIdentifier":"CSAT-2024-Q1","status":"completed","results":{"completedAt":"2024-03-12T15:30:45Z","questionCodes":[{"questionIdentifier":"Q1","question":"What did you like about our service?","responseCodes":[{"id":1,"label":"Customer Service Quality","responses":[{"responseIdentifier":"12345","answer":"The customer service representatives were very helpful and resolved my issue quickly."}],"subCodes":[{"id":11,"label":"Staff Helpfulness","responses":[{"responseIdentifier":"12345","answer":"The customer service representatives were very helpful and resolved my issue quickly."}],"subCodes":[]}]},{"id":2,"label":"Delivery","responses":[{"responseIdentifier":"12346","answer":"I liked the easy-to-use website and fast delivery."}],"subCodes":[]}]}],"nextCursor":null}}}},"exampleType":"examples"}},"exampleType":"examples"},"ddcee215-84f2-41c9-b0d5-9a4fe09a4f43":{"description":"Bad request - invalid input parameters","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Error code","example":"INVALID_REQUEST","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Error message","example":"Invalid request parameters","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","description":"Additional error details","example":{"question":"Question is required"},"uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"INVALID_REQUEST","message":"Invalid batch job ID format"},"examples":{"Example":{"title":"Example","value":{"code":"INVALID_REQUEST","message":"Invalid batch job ID format"}}},"exampleType":"examples"}},"exampleType":"examples"},"6a6b0022-b2e8-42e8-958a-cf8d051c77a5":{"description":"Forbidden - Missing or invalid API key","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Error code","example":"INVALID_REQUEST","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Error message","example":"Invalid request parameters","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","description":"Additional error details","example":{"question":"Question is required"},"uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"INVALID_API_KEY","message":"Invalid or missing API key"},"examples":{"Example":{"title":"Example","value":{"code":"INVALID_API_KEY","message":"Invalid or missing API key"}}},"exampleType":"examples"}},"exampleType":"examples"},"12a649b6-1ce0-4ffd-a93f-958a55613927":{"description":"Resource not found","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Error code","example":"INVALID_REQUEST","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Error message","example":"Invalid request parameters","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","description":"Additional error details","example":{"question":"Question is required"},"uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"NOT_FOUND","message":"Batch job not found"},"examples":{"Example":{"title":"Example","value":{"code":"NOT_FOUND","message":"Batch job not found"}}},"exampleType":"examples"}},"exampleType":"examples"},"392110db-c5c8-41d2-90b4-10a0cbffb1bb":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Error code","example":"INVALID_REQUEST","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Error message","example":"Invalid request parameters","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","description":"Additional error details","example":{"question":"Question is required"},"uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred"},"examples":{"Example":{"title":"Example","value":{"code":"INTERNAL_ERROR","message":"An unexpected error occurred"}}},"exampleType":"examples"}},"exampleType":"examples"},"358f3342-9514-4998-9b73-cbdd135cf75d":{"description":"Gateway timeout","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Error code","example":"INVALID_REQUEST","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","description":"Error message","example":"Invalid request parameters","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","description":"Additional error details","example":{"question":"Question is required"},"uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"GATEWAY_TIMEOUT","message":"The server took too long to respond"},"examples":{"Example":{"title":"Example","value":{"code":"GATEWAY_TIMEOUT","message":"The server took too long to respond"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"b57d0fce-f304-44b6-ac31-a8f3b0b2ab89":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-Aftercare-Key","description":"API key for authentication","scopes":[]}}},"servers":{"e7cb3cb4-2e43-4c33-aa9b-d8ac8fd02c5c":{"url":"https://surveys.getaftercare.com","description":"Production server"},"7e3bd66b-b069-43c1-a556-b9b888563097":{"url":"https://staging.aftercareai.com","description":"Staging server"}},"schemas":{"7a07e527-c9a4-4a01-86dc-dbef6cd1ef60":{"type":"object","required":["id","label","responses","subCodes"],"properties":{"id":{"type":"integer","description":"Unique identifier for this code","example":1,"isRequired":true},"label":{"type":"string","description":"Label of the code","example":"Customer Service Quality","isRequired":true},"responses":{"type":"array","description":"The responses that were classified into this code","items":{"type":"object","required":["responseIdentifier","answer"],"properties":{"responseIdentifier":{"type":"string","description":"Unique identifier for this response entry","example":"resp-123","isRequired":true},"answer":{"type":"string","description":"The respondent's answer to the question","example":"I really enjoy the battery life.","isRequired":true},"followupResponses":{"type":"array","description":"Any follow-up question/answer pairs for this response","items":{"type":"object","required":["question","answer"],"properties":{"question":{"type":"string","description":"The follow-up question that was asked","example":"What features of our product stood out most?","isRequired":true},"answer":{"type":"string","description":"The answer provided to the follow-up","example":"I loved the night-vision mode.","isRequired":true}}}}}},"isRequired":true},"subCodes":{"type":"array","description":"More specific codes classified under this code that can be used to further classify the responses","items":{"$circularRef":"7a07e527-c9a4-4a01-86dc-dbef6cd1ef60"},"isRequired":true}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Aftercare-Key","description":"API key for authentication","scopes":[]},"schema":{"title":"X-Aftercare-Key","type":"string","description":"API key for authentication","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-Aftercare-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"aftercare","siteName":"Starter Kit","title":"Get AI Coding Batch Job Results - Starter Kit","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T05:43:31.556Z","originalFileLocation":"api-reference/coding/get.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=\"Retrieves the current status and results of a batch coding job\">\u003cmeta data-mint-head name=\"application-name\" content=\"Starter Kit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aftercare/IkN8yax3vlOiM3z-/_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/aftercare/IkN8yax3vlOiM3z-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aftercare/IkN8yax3vlOiM3z-/_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/aftercare/IkN8yax3vlOiM3z-/_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/aftercare/IkN8yax3vlOiM3z-/_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/aftercare/IkN8yax3vlOiM3z-/_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/aftercare/IkN8yax3vlOiM3z-/_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/aftercare/IkN8yax3vlOiM3z-/_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/aftercare/IkN8yax3vlOiM3z-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get AI Coding Batch Job Results - Starter Kit\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieves the current status and results of a batch coding job\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Starter Kit\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.getaftercare.com/api-reference/coding/get\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aftercare.mintlify.site/_mintlify/api/og/v2?division=AI+Coding\u0026amp;title=Get+AI+Coding+Batch+Job+Results\u0026amp;description=Retrieves+the+current+status+and+results+of+a+batch+coding+job\u0026amp;theme=64fb4969372e7acb11c19d0e\u0026amp;signature=00dd21b7f4f861ab8ee0fbb9858fef845870adcd8fe6252abd2cd27b2c9df6f0\">\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=\"Get AI Coding Batch Job Results - Starter Kit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieves the current status and results of a batch coding job\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aftercare.mintlify.site/_mintlify/api/og/v2?division=AI+Coding\u0026amp;title=Get+AI+Coding+Batch+Job+Results\u0026amp;description=Retrieves+the+current+status+and+results+of+a+batch+coding+job\u0026amp;theme=64fb4969372e7acb11c19d0e\u0026amp;signature=00dd21b7f4f861ab8ee0fbb9858fef845870adcd8fe6252abd2cd27b2c9df6f0\">\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/aftercare/IkN8yax3vlOiM3z-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Starter Kit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.getaftercare.com/api-reference/coding/get\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/coding/get.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.getaftercare.com/#organization\",\"name\":\"Starter Kit\",\"url\":\"https://docs.getaftercare.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aftercare/e1mHkmMes6jz1ugc/logo/logo.png?fit=max\u0026auto=format\u0026n=e1mHkmMes6jz1ugc\u0026q=85\u0026s=30ff22f1cb78b1ef23d5d22b8bb02d36\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.getaftercare.com#website\",\"name\":\"Starter Kit\",\"url\":\"https://docs.getaftercare.com\",\"publisher\":{\"@id\":\"https://docs.getaftercare.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.getaftercare.com/api-reference/coding/get#webpage\",\"url\":\"https://docs.getaftercare.com/api-reference/coding/get\",\"name\":\"Get AI Coding Batch Job Results\",\"description\":\"Retrieves the current status and results of a batch coding job\",\"dateModified\":\"2026-01-07T05:43:31.556Z\",\"isPartOf\":{\"@id\":\"https://docs.getaftercare.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.getaftercare.com/api-reference/coding/get#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.getaftercare.com/api-reference/coding/get#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"AI Coding\",\"item\":\"https://docs.getaftercare.com/api-reference/coding/create\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get AI Coding Batch Job Results\",\"item\":\"https://docs.getaftercare.com/api-reference/coding/get\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.getaftercare.com/api-reference/coding/get#apireference\",\"headline\":\"Get AI Coding Batch Job Results\",\"name\":\"Get AI Coding Batch Job Results\",\"description\":\"Retrieves the current status and results of a batch coding job\",\"url\":\"https://docs.getaftercare.com/api-reference/coding/get\",\"mainEntityOfPage\":{\"@id\":\"https://docs.getaftercare.com/api-reference/coding/get#webpage\"},\"dateModified\":\"2026-01-07T05:43:31.556Z\",\"publisher\":{\"@id\":\"https://docs.getaftercare.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.getaftercare.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Starter Kit\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Starter Kit\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/coding/get.md","siteName":"Starter Kit","nav":{"global":{"anchors":[{"anchor":"Discord","href":"https://discord.gg/Rn2yZ3He","icon":"discord"},{"anchor":"Slack","href":"https://join.slack.com/t/aftercareusers/shared_invite/zt-30ezqu0sy-0YybIITmOcx5BEpdR3mWCQ","icon":"slack"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Get Started","icon":"square-terminal","href":"/api-reference/introduction"}]},{"group":"AI Followup Generation","pages":[{"title":"Create AI Followup Question","openapi":"POST /api/v1/followups","href":"/api-reference/followups/create"}]},{"group":"AI Data Quality Evaluation","pages":[{"title":"Evaluate Data Quality","openapi":"POST /api/v1/data-quality","href":"/api-reference/data-quality/evaluate"},{"title":"Evaluate Data Quality Batch","openapi":"POST /api/v1/data-quality/batch","href":"/api-reference/data-quality/batch"},{"title":"Get Data Quality Batch Job Status","openapi":"GET /api/v1/data-quality/batch/{batchJobId}","href":"/api-reference/data-quality/get"}]},{"group":"AI Coding","pages":[{"title":"Create AI Coding Batch Job","openapi":"POST /api/v1/coding","description":"Analyze survey responses and code them into hierarchical categories","href":"/api-reference/coding/create"},{"title":"Get AI Coding Batch Job Results","openapi":"GET /api/v1/coding/{batchJobId}","href":"/api-reference/coding/get"},{"title":"Create AI Brand Coding Job","openapi":"POST /api/v1/brand-coding","description":"Analyze survey responses in the context of specified brands and code them into hierarchical categories","href":"/api-reference/brand-coding/create"}]}]}]},"basePath":"","title":"Get AI Coding Batch Job Results - Starter Kit","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}