{
"scanId": "aB3xK9mP2q",
"repoName": "owner/repository",
"status": "completed",
"results": [
{
"file": "src/auth/login.py",
"scan_id": "aB3xK9mP2q",
"issues": [
{
"relevant_file": "src/auth/login.py",
"language": "python",
"suggestion_content": "The `authenticate` function does not validate the length of the password parameter before passing it to the bcrypt hashing function. Extremely long passwords (>72 bytes) are silently truncated by bcrypt, which could lead to collision vulnerabilities.",
"start_line": 45,
"end_line": 52,
"one_sentence_summary": "Password length not validated before bcrypt hashing",
"label": "Security",
"severity": "medium",
"cwe_id": "CWE-916",
"agent_instructions": "threat_hunting"
}
]
}
],
"totalIssues": 1
}
Get Agent Scan Results
Retrieves the results of an agent analysis scan. If the scan is still in progress, returns a status of in_progress. Once complete, returns deduplicated issues found across all analyzed files. Issues are deduplicated using LLM-based analysis to remove duplicate findings across files.
{
"scanId": "aB3xK9mP2q",
"repoName": "owner/repository",
"status": "completed",
"results": [
{
"file": "src/auth/login.py",
"scan_id": "aB3xK9mP2q",
"issues": [
{
"relevant_file": "src/auth/login.py",
"language": "python",
"suggestion_content": "The `authenticate` function does not validate the length of the password parameter before passing it to the bcrypt hashing function. Extremely long passwords (>72 bytes) are silently truncated by bcrypt, which could lead to collision vulnerabilities.",
"start_line": 45,
"end_line": 52,
"one_sentence_summary": "Password length not validated before bcrypt hashing",
"label": "Security",
"severity": "medium",
"cwe_id": "CWE-916",
"agent_instructions": "threat_hunting"
}
]
}
],
"totalIssues": 1
}
Total number of deduplicated issues found across all files
Example:
5
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"CodeAnt AI","colors":{"primary":"#4F4FE6","light":"#8B8BF5","dark":"#4040C4"},"logo":{"light":"https://mintcdn.com/codeantai/q1mptv9VxSkpnEvR/logo/light.svg?fit=max\u0026auto=format\u0026n=q1mptv9VxSkpnEvR\u0026q=85\u0026s=fe5541a58bbbaf4c33513282b7246e56","dark":"https://mintcdn.com/codeantai/q1mptv9VxSkpnEvR/logo/dark.svg?fit=max\u0026auto=format\u0026n=q1mptv9VxSkpnEvR\u0026q=85\u0026s=6931bdb408cba905a4ccbf60ac60653d"},"favicon":"https://mintcdn.com/codeantai/q1mptv9VxSkpnEvR/favicon.svg?fit=max\u0026auto=format\u0026n=q1mptv9VxSkpnEvR\u0026q=85\u0026s=af1f3e766af7f1c03b127c519d0da4ac","appearance":{"default":"system"},"background":{"color":{"light":"#ffffff","dark":"#101010"}},"navbar":{"links":[{"href":"/support","label":"Contact support"}],"primary":{"type":"button","label":"Open dashboard","href":"https://app.codeant.ai"}},"footer":{"socials":{"twitter":"https://twitter.com/CodeAntAI","linkedin":"https://www.linkedin.com/company/codeant-ai"},"links":[{"items":[{"label":"Get help","href":"/support"},{"label":"Report an issue","href":"mailto:support@codeant.ai"}]}]},"search":{"prompt":"Search for anything"},"fonts":{"heading":{"family":"Geist","weight":550},"body":{"family":"Geist"}},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":"css-variables"},"latex":true},"contextual":{"options":[{"title":"Connect your AI agent","description":"Connect your AI agent to CodeAnt with the MCP server","icon":"plug","href":"https://docs.codeant.ai/cli/mcp-server"},"copy","chatgpt","claude"],"display":"toc"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"codeantai","hasAudioNarration":false,"actualSubdomain":"codeantai","customDomains":["docs.codeant.ai"],"gitSource":{"type":"github","owner":"codeant-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae644e28478937caf58fead","collectionId":"50652629-d7ba-4ae4-baef-cd2baa2d27e8","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae644e28478937caf58fead"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae644e28478937caf58fead","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"Documentation","count":191},{"language":"default","tag":"Rule Reference","count":76},{"language":"default","tag":"Anti-Patterns","count":53},{"language":"default","tag":"IDE, CLI \u0026 CI/CD","count":38},{"language":"default","tag":"API Reference","count":29},{"language":"default","tag":"Get Started","count":23},{"language":"default","tag":"AI Code Review","count":20},{"language":"default","tag":"Setup","count":18},{"language":"default","tag":"CI/CD","count":17},{"language":"default","tag":"JavaScript","count":15}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"styles.css","href":"/_mintlify/custom/codeantai/9477ba7e27f8567b/styles.css"}],"page":{"pagePath":"api-reference/agent-analysis/get-agent-scan-results","slug":"/api-reference/agent-analysis/get-agent-scan-results","pageMetadata":{"title":"Get Agent Scan Results","description":"Retrieves the results of an agent analysis scan. If the scan is still in progress, returns a status of `in_progress`. Once complete, returns deduplicated issues found across all analyzed files. Issues are deduplicated using LLM-based analysis to remove duplicate findings across files.","deprecated":null,"version":null,"openapi":"/openapi.json post /api/agents/scan/results","href":"/api-reference/agent-analysis/get-agent-scan-results","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {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(_components.p, {\n children: [\"Retrieves the results of an agent analysis scan. If the scan is still in progress, returns a status of \", _jsx(_components.code, {\n children: \"in_progress\"\n }), \". Once complete, returns deduplicated issues found across all analyzed files. Issues are deduplicated using LLM-based analysis to remove duplicate findings across files.\"]\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":{"codeStyling":{"theme":"css-variables"},"config":{},"pageMetadata":{"title":"Get Agent Scan Results","description":"Retrieves the results of an agent analysis scan. If the scan is still in progress, returns a status of `in_progress`. Once complete, returns deduplicated issues found across all analyzed files. Issues are deduplicated using LLM-based analysis to remove duplicate findings across files.","deprecated":null,"version":null,"openapi":"/openapi.json post /api/agents/scan/results","href":"/api-reference/agent-analysis/get-agent-scan-results","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/codeantai/ccf9042a50041cb8/reo.js","/_mintlify/custom/codeantai/939c2d631654a3f6/sidebar-motion.js","/_mintlify/custom/codeantai/75cecc4363704fee/toc-highlight.js","/_mintlify/custom/codeantai/faf9f427997bdaa6/code-controls.js","/_mintlify/custom/codeantai/eb4a078ba732b846/scroll-to-top.js","/_mintlify/custom/codeantai/59b3b4df740c5bc6/home.js","/_mintlify/custom/codeantai/010da96f973f2fb0/nav-motion.js","/_mintlify/custom/codeantai/5039b744165ff9a7/product-switcher.js","/_mintlify/custom/codeantai/a35541ef2295242c/theme-switch.js"],"openApiReferenceData":{"operation":{"summary":"Get Agent Scan Results","description":"Retrieves the results of an agent analysis scan. If the scan is still in progress, returns a status of `in_progress`. Once complete, returns deduplicated issues found across all analyzed files. Issues are deduplicated using LLM-based analysis to remove duplicate findings across files.","operationId":"getAgentScanResults","tags":["Agent Analysis"],"requestBody":"98b27a7d-d784-4698-bc3f-0b382aed2924","responses":{"200":"a2fc3559-260c-44d5-a39a-8d70d21f3679","404":"65834ba2-d5fd-44de-a881-c4e51a34582b","500":"a8dc8467-b86c-4a8e-adee-023fb0655eff"},"method":"post","type":"path","servers":["800c95ac-8a78-4f30-b591-547de90bc1be"],"security":[],"path":"/api/agents/scan/results","baseUrlOptions":["https://api.codeant.ai"],"title":"Get Agent Scan Results","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["repo","scanId"],"properties":{"repo":{"type":"string","description":"Repository identifier","example":"owner/repository","isRequired":true,"uniqueKey":"repo","typeLabel":"string"},"scanId":{"type":"string","description":"Scan identifier returned from the start scan endpoint","example":"aB3xK9mP2q","isRequired":true,"uniqueKey":"scanId","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"repo":"owner/repository","scanId":"aB3xK9mP2q"},"examples":{"Example":{"title":"Example","value":{"repo":"owner/repository","scanId":"aB3xK9mP2q"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"a2fc3559-260c-44d5-a39a-8d70d21f3679":{"description":"Scan results retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"scanId":{"type":"string","description":"Scan identifier","example":"aB3xK9mP2q","uniqueKey":"scanId","typeLabel":"string"},"repoName":{"type":"string","description":"Repository name","example":"owner/repository","uniqueKey":"repoName","typeLabel":"string"},"status":{"type":"string","description":"Current status of the scan","enum":["completed","in_progress"],"example":"completed","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"results":{"type":"array","description":"List of file results with issues found","items":{"type":"object","properties":{"file":{"type":"string","description":"File path where issues were found","example":"src/auth/login.py","uniqueKey":"results.items.[INDEX].file","typeLabel":"string"},"scan_id":{"type":"string","description":"Scan identifier","uniqueKey":"results.items.[INDEX].scan_id","typeLabel":"string"},"issues":{"type":"array","description":"List of issues found in the file","items":{"type":"object","description":"An issue found by the AI agent during analysis","properties":{"relevant_file":{"type":"string","description":"File path where the issue was found","example":"src/auth/login.py","uniqueKey":"results.items.[INDEX].issues.items.[INDEX].relevant_file","typeLabel":"string"},"language":{"type":"string","description":"Programming language of the file","example":"python","uniqueKey":"results.items.[INDEX].issues.items.[INDEX].language","typeLabel":"string"},"suggestion_content":{"type":"string","description":"Detailed description of the issue in markdown format, including the problem, impact, and suggested fix","example":"The `authenticate` function does not validate the length of the password parameter before passing it to the bcrypt hashing function.","uniqueKey":"results.items.[INDEX].issues.items.[INDEX].suggestion_content","typeLabel":"string"},"start_line":{"type":"integer","description":"Starting line number of the issue","example":45,"uniqueKey":"results.items.[INDEX].issues.items.[INDEX].start_line","typeLabel":"integer"},"end_line":{"type":"integer","description":"Ending line number of the issue","example":52,"uniqueKey":"results.items.[INDEX].issues.items.[INDEX].end_line","typeLabel":"integer"},"one_sentence_summary":{"type":"string","description":"Brief one-sentence summary of the issue","example":"Password length not validated before bcrypt hashing","uniqueKey":"results.items.[INDEX].issues.items.[INDEX].one_sentence_summary","typeLabel":"string"},"label":{"type":"string","description":"Category label for the issue (e.g., Security, Bug, Performance)","example":"Security","uniqueKey":"results.items.[INDEX].issues.items.[INDEX].label","typeLabel":"string"},"severity":{"type":"string","description":"Severity level of the issue","enum":["low","medium","high","critical"],"example":"medium","uniqueKey":"results.items.[INDEX].issues.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"cwe_id":{"type":"string","description":"Common Weakness Enumeration (CWE) identifier, when applicable","example":"CWE-916","uniqueKey":"results.items.[INDEX].issues.items.[INDEX].cwe_id","typeLabel":"string"},"exploitability":{"type":"string","description":"Assessment of how exploitable the issue is (included for security findings)","example":"Requires attacker to know the truncation behavior of bcrypt","uniqueKey":"results.items.[INDEX].issues.items.[INDEX].exploitability","typeLabel":"string"},"agent_instructions":{"type":"string","description":"The analysis instructions or prompt that the agent used when it found this issue (e.g., threat_hunting, bug_finding, or custom rules)","example":"threat_hunting","uniqueKey":"results.items.[INDEX].issues.items.[INDEX].agent_instructions","typeLabel":"string"}},"uniqueKey":"results.items.[INDEX].issues.items.[INDEX]","typeLabel":"object"},"uniqueKey":"results.items.[INDEX].issues","typeLabel":"object[]"}},"uniqueKey":"results.items.[INDEX]","typeLabel":"object"},"uniqueKey":"results","typeLabel":"object[]"},"totalIssues":{"type":"integer","description":"Total number of deduplicated issues found across all files","example":5,"uniqueKey":"totalIssues","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"completed":{"title":"completed","value":{"scanId":"aB3xK9mP2q","repoName":"owner/repository","status":"completed","results":[{"file":"src/auth/login.py","scan_id":"aB3xK9mP2q","issues":[{"relevant_file":"src/auth/login.py","language":"python","suggestion_content":"The `authenticate` function does not validate the length of the password parameter before passing it to the bcrypt hashing function. Extremely long passwords (>72 bytes) are silently truncated by bcrypt, which could lead to collision vulnerabilities.","start_line":45,"end_line":52,"one_sentence_summary":"Password length not validated before bcrypt hashing","label":"Security","severity":"medium","cwe_id":"CWE-916","agent_instructions":"threat_hunting"}]}],"totalIssues":1}},"in_progress":{"title":"in_progress","value":{"scanId":"aB3xK9mP2q","repoName":"owner/repository","status":"in_progress","results":[],"totalIssues":0}}},"exampleType":"examples"}},"exampleType":"examples"},"65834ba2-d5fd-44de-a881-c4e51a34582b":{"description":"Scan not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Scan not found"},"examples":{"Example":{"title":"Example","value":{"error":"Scan not found"}}},"exampleType":"examples"}},"exampleType":"examples"},"a8dc8467-b86c-4a8e-adee-023fb0655eff":{"description":"Failed to retrieve scan results","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Error message","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Failed to retrieve scan results"},"examples":{"Example":{"title":"Example","value":{"error":"Failed to retrieve scan results"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{},"servers":{"800c95ac-8a78-4f30-b591-547de90bc1be":{"url":"https://api.codeant.ai","description":"Production server"}}},"originalFileLocation":"openapi.json"},"subdomain":"codeantai","siteName":"CodeAnt AI","title":"Get Agent Scan Results - CodeAnt AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-11T07:01:36.294Z","originalFileLocation":"api-reference/agent-analysis/get-agent-scan-results.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 results of an agent analysis scan. If the scan is still in progress, returns a status of in_progress. Once complete, returns deduplicated issues found across all analyzed files. Issues are deduplicated using LLM-based analysis to remove duplicate findings across files.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CodeAnt AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/codeantai/urpqEjqQ6niJ8Uh7/_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/codeantai/urpqEjqQ6niJ8Uh7/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/codeantai/urpqEjqQ6niJ8Uh7/_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/codeantai/urpqEjqQ6niJ8Uh7/_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/codeantai/urpqEjqQ6niJ8Uh7/_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/codeantai/urpqEjqQ6niJ8Uh7/_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/codeantai/urpqEjqQ6niJ8Uh7/_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/codeantai/urpqEjqQ6niJ8Uh7/_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/codeantai/urpqEjqQ6niJ8Uh7/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Agent Scan Results - CodeAnt AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieves the results of an agent analysis scan. If the scan is still in progress, returns a status of in_progress. Once complete, returns deduplicated issues found across all analyzed files. Issues are deduplicated using LLM-based analysis to remove duplicate findings across files.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CodeAnt AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.codeant.ai/api-reference/agent-analysis/get-agent-scan-results\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://codeantai.mintlify.site/_mintlify/api/og/v2?division=Agent+Analysis\u0026amp;title=Get+Agent+Scan+Results\u0026amp;description=Retrieves+the+results+of+an+agent+analysis+scan.+If+the+scan+is+still+in+progress%2C+returns+a+status+of+%60in_progress%60.+Once+complete%2C+returns+deduplicated+issues\u0026amp;theme=2d40b3bda09d04ea4a3d2ef1\u0026amp;signature=3c6d17d83a843da7a46994869c2b41d6b2192b07071be782f754d372ae043e7d\">\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 Agent Scan Results - CodeAnt AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieves the results of an agent analysis scan. If the scan is still in progress, returns a status of in_progress. Once complete, returns deduplicated issues found across all analyzed files. Issues are deduplicated using LLM-based analysis to remove duplicate findings across files.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://codeantai.mintlify.site/_mintlify/api/og/v2?division=Agent+Analysis\u0026amp;title=Get+Agent+Scan+Results\u0026amp;description=Retrieves+the+results+of+an+agent+analysis+scan.+If+the+scan+is+still+in+progress%2C+returns+a+status+of+%60in_progress%60.+Once+complete%2C+returns+deduplicated+issues\u0026amp;theme=2d40b3bda09d04ea4a3d2ef1\u0026amp;signature=3c6d17d83a843da7a46994869c2b41d6b2192b07071be782f754d372ae043e7d\">\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/codeantai/urpqEjqQ6niJ8Uh7/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CodeAnt AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4F4FE6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.codeant.ai/api-reference/agent-analysis/get-agent-scan-results\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/agent-analysis/get-agent-scan-results.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.codeant.ai/#organization\",\"name\":\"CodeAnt AI\",\"url\":\"https://docs.codeant.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/codeantai/q1mptv9VxSkpnEvR/logo/light.svg?fit=max\u0026auto=format\u0026n=q1mptv9VxSkpnEvR\u0026q=85\u0026s=fe5541a58bbbaf4c33513282b7246e56\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.codeant.ai#website\",\"name\":\"CodeAnt AI\",\"url\":\"https://docs.codeant.ai\",\"publisher\":{\"@id\":\"https://docs.codeant.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.codeant.ai/api-reference/agent-analysis/get-agent-scan-results#webpage\",\"url\":\"https://docs.codeant.ai/api-reference/agent-analysis/get-agent-scan-results\",\"name\":\"Get Agent Scan Results\",\"description\":\"Retrieves the results of an agent analysis scan. If the scan is still in progress, returns a status of in_progress. Once complete, returns deduplicated issues found across all analyzed files. Issues are deduplicated using LLM-based analysis to remove duplicate findings across files.\",\"dateModified\":\"2026-09-11T07:01:36.294Z\",\"isPartOf\":{\"@id\":\"https://docs.codeant.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.codeant.ai/api-reference/agent-analysis/get-agent-scan-results#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.codeant.ai/api-reference/agent-analysis/get-agent-scan-results#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Agent Analysis\",\"item\":\"https://docs.codeant.ai/api-reference/agent-analysis/start-agent-scan\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get Agent Scan Results\",\"item\":\"https://docs.codeant.ai/api-reference/agent-analysis/get-agent-scan-results\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.codeant.ai/api-reference/agent-analysis/get-agent-scan-results#apireference\",\"headline\":\"Get Agent Scan Results\",\"name\":\"Get Agent Scan Results\",\"description\":\"Retrieves the results of an agent analysis scan. If the scan is still in progress, returns a status of in_progress. Once complete, returns deduplicated issues found across all analyzed files. Issues are deduplicated using LLM-based analysis to remove duplicate findings across files.\",\"url\":\"https://docs.codeant.ai/api-reference/agent-analysis/get-agent-scan-results\",\"mainEntityOfPage\":{\"@id\":\"https://docs.codeant.ai/api-reference/agent-analysis/get-agent-scan-results#webpage\"},\"dateModified\":\"2026-09-11T07:01:36.294Z\",\"publisher\":{\"@id\":\"https://docs.codeant.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.codeant.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CodeAnt AI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"CodeAnt AI","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"file-lines","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","icon":"file-code","groups":[{"group":"Analysis","pages":[{"title":"Start Analysis","deprecated":null,"version":null,"openapi":"/openapi.json post /api/analysis/start","href":"/api-reference/analysis/start-analysis"},{"title":"Get Analysis Results","deprecated":null,"version":null,"openapi":"/openapi.json post /api/analysis/results","href":"/api-reference/analysis/get-analysis-results"},{"title":"Get SBOM Results","deprecated":null,"version":null,"openapi":"/openapi.json post /api/analysis/results/sbom","href":"/api-reference/analysis/get-sbom-results"},{"title":"Get Secrets Scan Results","deprecated":null,"version":null,"openapi":"/openapi.json post /api/analysis/results/secrets","href":"/api-reference/analysis/get-secrets-scan-results"},{"title":"Get Anti-patterns Results","deprecated":null,"version":null,"openapi":"/openapi.json post /api/analysis/results/antipatterns","href":"/api-reference/analysis/get-anti-patterns-results"},{"title":"Get IaC Scan Results","deprecated":null,"version":null,"openapi":"/openapi.json post /api/analysis/results/iac","href":"/api-reference/analysis/get-iac-scan-results"},{"title":"Get Full Analysis Report","deprecated":null,"version":null,"openapi":"/openapi.json post /api/analysis/results/full_report","href":"/api-reference/analysis/get-full-analysis-report"},{"title":"Get Scan History","deprecated":null,"version":null,"openapi":"/openapi.json post /api/analysis/scan-history","href":"/api-reference/analysis/get-scan-history"},{"title":"Dismiss Findings","deprecated":null,"version":null,"openapi":"/openapi.json post /api/analysis/findings/dismiss","href":"/api-reference/analysis/dismiss-findings"}]},{"group":"Developer Metrics - Teams","pages":[{"title":"Create Team","deprecated":null,"version":null,"openapi":"/openapi.json post /api/metrics/developer/teams/create","href":"/api-reference/developer-metrics--teams/create-team"},{"title":"List Teams","deprecated":null,"version":null,"openapi":"/openapi.json post /api/metrics/developer/teams/list","href":"/api-reference/developer-metrics--teams/list-teams"},{"title":"Get Team","deprecated":null,"version":null,"openapi":"/openapi.json post /api/metrics/developer/teams/get","href":"/api-reference/developer-metrics--teams/get-team"},{"title":"Update Team","deprecated":null,"version":null,"openapi":"/openapi.json post /api/metrics/developer/teams/update","href":"/api-reference/developer-metrics--teams/update-team"},{"title":"Delete Team","deprecated":null,"version":null,"openapi":"/openapi.json post /api/metrics/developer/teams/delete","href":"/api-reference/developer-metrics--teams/delete-team"},{"title":"Add Team Member","deprecated":null,"version":null,"openapi":"/openapi.json post /api/metrics/developer/teams/members/add","href":"/api-reference/developer-metrics--teams/add-team-member"},{"title":"Remove Team Member","deprecated":null,"version":null,"openapi":"/openapi.json post /api/metrics/developer/teams/members/remove","href":"/api-reference/developer-metrics--teams/remove-team-member"},{"title":"Update Team Member","deprecated":null,"version":null,"openapi":"/openapi.json post /api/metrics/developer/teams/members/update","href":"/api-reference/developer-metrics--teams/update-team-member"}]},{"group":"Developer Metrics","pages":[{"title":"Get Developer Comparison","deprecated":null,"version":null,"openapi":"/openapi.json post /api/metrics/developer/comparison/get","href":"/api-reference/developer-metrics/get-developer-comparison"},{"title":"Get Developer Summary","deprecated":null,"version":null,"openapi":"/openapi.json post /api/metrics/developer/summary/get","href":"/api-reference/developer-metrics/get-developer-summary"},{"title":"Get Active Developers","deprecated":null,"version":null,"openapi":"/openapi.json post /api/metrics/developer/devs/active/get","href":"/api-reference/developer-metrics/get-active-developers"},{"title":"Get Developer PR Data","deprecated":null,"version":null,"openapi":"/openapi.json post /api/metrics/developer/prs/get","href":"/api-reference/developer-metrics/get-developer-pr-data"}]},{"group":"Agent Analysis","pages":[{"title":"Start Agent Scan","description":"Initiates an AI-powered agent analysis for a repository. The agent uses LLM-based code exploration to perform deep security threat hunting, bug finding, or custom analysis based on user-provided instructions. Files are filtered by extension, size (≤400KB), and line count (≤5000 lines), with a maximum of 500 files per scan.","deprecated":null,"version":null,"openapi":"/openapi.json post /api/agents/scan/start","href":"/api-reference/agent-analysis/start-agent-scan"},{"title":"Get Agent Scan Results","deprecated":null,"version":null,"openapi":"/openapi.json post /api/agents/scan/results","href":"/api-reference/agent-analysis/get-agent-scan-results"},{"title":"Get Agent Scan History","description":"Retrieves the history of all agent analysis scans for a repository, sorted by most recent first. Each entry includes metadata about the scan such as the branch, commit, prompt used, and number of files analyzed.","deprecated":null,"version":null,"openapi":"/openapi.json post /api/agents/scan/history","href":"/api-reference/agent-analysis/get-agent-scan-history"}]},{"group":"Audit Logs","pages":[{"title":"List Audit Events","deprecated":null,"version":null,"openapi":"/openapi.json post /api/audit/events","href":"/api-reference/audit-logs/list-audit-events"}]},{"group":"Container Scanning","pages":[{"title":"List Scanned Containers","deprecated":null,"version":null,"openapi":"/openapi.json post /api/cloud/container-scanning/containers","href":"/api-reference/container-scanning/list-scanned-containers"},{"title":"Get Container Scan Vulnerabilities","deprecated":null,"version":null,"openapi":"/openapi.json post /api/cloud/container-scanning/results","href":"/api-reference/container-scanning/get-container-scan-vulnerabilities"}]},{"group":"Security Hotlist","pages":[{"title":"List Hotlist Findings","deprecated":null,"version":null,"openapi":"/openapi.json post /api/security/hotlist/findings","href":"/api-reference/security-hotlist/list-hotlist-findings"},{"title":"Export Hotlist to Excel","deprecated":null,"version":null,"openapi":"/openapi.json post /api/security/hotlist/export","href":"/api-reference/security-hotlist/export-hotlist-to-excel"}]}]}]},"basePath":"","title":"Get Agent Scan Results - CodeAnt AI","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Myd8dsju.js","utils-C2HkQgW0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-8rSppmTv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B6MjiCFm.js","snippetPresets-DwrSAONL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","Page-CxAy5y67.js","getPastedJson-C-VECgcL.js","icon-BPq2-Mg3.js","MethodPill-D9J5cUHd.js","DuplicateIcon-BqHaxUnD.js","createIcon-CIbcZHp9.js","DynamicMarkdown-BKiHAm_d.js","SectionHeading-DstQXt3H.js","axios-vUo_bRtp.js","Markdown-CpxgzsKA.js","clsx-C5EfhVm0.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CJ9Oly2E.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Mk6P3qvh.js"]}