{"openapi":"3.1.0","info":{"title":"Codeant AI (BYOK) API","version":"0.1.0","description":"Codeant AI (BYOK) lets an AI assistant read your own Codeant AI data through the Codeant AI API with a key you supply (CodeAnt API token (starts with cdt_)). Read-only: 5 tools (get_scan_history, list_scanned_containers, get_container_scan_vulnerabilities, list_teams, get_security_hotlist_summary). The BYOK key travels with each request, is used for that one call only and is never stored, logged...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-codeant.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-codeant/docs"},"termsOfService":"https://connectorbay.com/byok-codeant/terms"},"servers":[{"url":"https://byok-codeant.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-codeant/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/get_scan_history":{"post":{"operationId":"get_scan_history","summary":"Show the last analysis result for every scanned commit of a repository (commit, branch, time, status). Use for \"When was","description":"Show the last analysis result for every scanned commit of a repository (commit, branch, time, status). Use for \"When was my repository last scanned by CodeAnt\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"repo":{"description":"Repository identifier (owner/name; Azure DevOps uses organization/project/repository).","maxLength":200,"title":"Repo","type":"string"},"platform":{"description":"Git platform the organization lives on.","enum":["github","gitlab","bitbucket","azure_devops"],"title":"Platform","type":"string"},"org":{"description":"Organization, workspace or group name on that platform.","maxLength":100,"title":"Org","type":"string"}},"required":["repo","platform","org"],"title":"get_scan_historyArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_scanned_containers":{"post":{"operationId":"list_scanned_containers","summary":"List tracked container images across AWS ECR, Azure ACR and GCP GAR with latest scan status, severity counts and scan id","description":"List tracked container images across AWS ECR, Azure ACR and GCP GAR with latest scan status, severity counts and scan id. Use for \"Which container images does CodeAnt track and how vulnerable are they\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"platform":{"description":"Git platform the organization lives on.","enum":["github","gitlab","bitbucket","azure_devops"],"title":"Platform","type":"string"},"org":{"description":"Organization, workspace or group name on that platform.","maxLength":100,"title":"Org","type":"string"}},"required":["platform","org"],"title":"list_scanned_containersArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_container_scan_vulnerabilities":{"post":{"operationId":"get_container_scan_vulnerabilities","summary":"List the vulnerabilities of one container scan: CVE id, package, installed and fixed version, severity and title. Use fo","description":"List the vulnerabilities of one container scan: CVE id, package, installed and fixed version, severity and title. Use for \"What vulnerabilities did CodeAnt find in this container image\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"platform":{"description":"Git platform the organization lives on.","enum":["github","gitlab","bitbucket","azure_devops"],"title":"Platform","type":"string"},"org":{"description":"Organization, workspace or group name on that platform.","maxLength":100,"title":"Org","type":"string"},"scan_id":{"description":"Container scan id from list_scanned_containers.","maxLength":60,"title":"Scan Id","type":"string"},"cloud":{"anyOf":[{"enum":["aws","azure","gcp"],"type":"string"},{"type":"null"}],"default":"aws","description":"Cloud the container scan ran against, from list_scanned_containers.","title":"Cloud"}},"required":["platform","org","scan_id"],"title":"get_container_scan_vulnerabilitiesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_teams":{"post":{"operationId":"list_teams","summary":"List developer teams with description, tags, parent team and assigned repositories (member lists are left out). Use for ","description":"List developer teams with description, tags, parent team and assigned repositories (member lists are left out). Use for \"Which developer teams are defined in CodeAnt\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"platform":{"description":"Git platform the organization lives on.","enum":["github","gitlab","bitbucket","azure_devops"],"title":"Platform","type":"string"},"org":{"description":"Organization, workspace or group name on that platform.","maxLength":100,"title":"Org","type":"string"},"include_inactive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True also lists soft-deleted teams.","title":"Include Inactive"}},"required":["platform","org"],"title":"list_teamsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_security_hotlist_summary":{"post":{"operationId":"get_security_hotlist_summary","summary":"Show the organization's security hotlist rollup: finding totals by severity, confirmed-exploit and ticketed counts, filt","description":"Show the organization's security hotlist rollup: finding totals by severity, confirmed-exploit and ticketed counts, filter facets and SLA days (individual findings are not returned). Use for \"How many critical findings are on my CodeAnt security hotlist\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"platform":{"description":"Git platform the organization lives on.","enum":["github","gitlab","bitbucket","azure_devops"],"title":"Platform","type":"string"},"org":{"description":"Organization, workspace or group name on that platform.","maxLength":100,"title":"Org","type":"string"}},"required":["platform","org"],"title":"get_security_hotlist_summaryArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}