coderegistry
v1.0.0Enterprise code intelligence for M&A, security audits, and tech debt.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_account
Creates a new Code Registry account and returns API credentials. Required fields: email (account owner's email), name (account owner's full name), team_name (team or company name). All three must be provided or the call will fail. Cold starts can cause the first request to time out; retry with backoff. No API key required.
| Parameter | Type | Description |
|---|---|---|
email * | string | Account owner's email. |
name * | string | Account owner's name. |
team_name * | string | Team or company name. |
integrator_id | string | Optional integrator identifier (used for API key scoping). |
integrator_name | string | Optional integrator display name. |
list_projects
Lists all projects for the authenticated team. Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
get_project
Returns a specific project by id. Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id. |
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
create_project
Creates a project for a team user. Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
name * | string | Project name. |
user_id * | string | User id (from create_account or get_account). |
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
description | string | Optional project description. |
delete_project
Deletes a project and its vaults. Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id. |
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
list_vaults
Lists vaults within a project. Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | Project id. |
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
get_vault
Returns a specific vault by id. Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
vault_id * | string | Vault id. |
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
create-code-vault
Creates a code vault and queues the initial analysis. Choose source_type based on what is available in your environment: (1) LOCAL_AGENT — preferred when Docker is available; runs a local container, source code never leaves the machine. The response includes next_steps.commands that MUST be executed to start the agent. (2) FILE_ARCHIVE — use this when Docker is NOT available (e.g. sandboxed/browser environments). This requires uploading the project's source code to a third-party file host, so you MUST first explain this to the user and get their explicit confirmation before zipping or uplo…
| Parameter | Type | Description |
|---|---|---|
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
branch | string | Optional source branch name (GIT only). |
description | string | Optional vault description. |
name | string | Vault name. |
password | string | Source password or personal access token (required for private GIT repos; must have read access). |
project_id | string | Project id (from create_project). |
source_type | string | Code source type. Use LOCAL_AGENT when Docker is available (preferred — source code stays local). Use FILE_ARCHIVE when Docker is NOT available, but only after the user has explicitly confirmed they… |
source_url | string | Repository or archive URL (required for GIT/FILE_ARCHIVE; ignored for LOCAL_AGENT/AGENT). For FILE_ARCHIVE: only after the user has explicitly confirmed the upload, zip the project and upload it to a… |
user_id | string | User id (from create_account or get_account). |
username | string | Source username (required for private GIT repos; must have read access). |
reanalyze-code-vault
Creates a new analysis version for an existing code vault using its existing source settings. For LOCAL_AGENT, the response includes next_steps.commands and the local agent must be run again. For GIT/FILE_ARCHIVE, the re-analysis of the original code source is queued automatically. Note: summary/results/report tools always return the latest version only, so reanalysis replaces access to prior version data. Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
vault_id * | string | Vault id (from create-code-vault or list_vaults). |
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
author | string | Optional author name override. |
comment | string | Optional version comment. |
user_id | string | Optional user id for attribution (from create_account or get_account). |
delete-code-vault
Deletes a code vault and related analysis data. Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
vault_id * | string | Vault id (from create-code-vault or list_vaults). |
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
get-code-vault-summary
Returns the latest version/status info for a vault. Analysis is async; if status is 'processing', poll with exponential backoff (5s, 10s, 20s, 40s, max 60s). Analysis can be as quick as 20-30 minutes for under 500,000 lines of code. Larger codebases can take much longer, especially with the security scan. This endpoint always returns the latest version only; once reanalysis starts, prior versions are no longer accessible here. Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
vault_id * | string | Vault id (from create-code-vault or list_vaults). |
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
get-code-vault-results
Returns analysis results for a vault. Free-tier teams receive summary-only results; paid teams receive full facet data and AI insights. Analysis is async; if status is 'processing', poll with exponential backoff (5s, 10s, 20s, 40s, max 60s). Analysis can be as quick as 20-30 minutes for under 500,000 lines of code. Larger codebases can take much longer, especially with the security scan. Facet meanings are documented in resources://docs/facets; AI Quotient is a code-quality metric (not AI-generated code). AI insights can take a few minutes after analysis completes; if ai_insights is empty, pol…
| Parameter | Type | Description |
|---|---|---|
vault_id * | string | Vault id (from create-code-vault or list_vaults). |
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
get-code-vault-reports
Returns report URLs (snapshot/comparison) for a vault. Completion rules: if version is 1.0.0, snapshot indicates completion and comparison is null; for versions above 1.0.0, comparison indicates completion. If not ready, retry with exponential backoff (5s, 10s, 20s, 40s, max 60s). This endpoint always returns the latest version only; once reanalysis starts, prior versions are no longer accessible here. Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
vault_id * | string | Vault id (from create-code-vault or list_vaults). |
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
get_account
Returns the team owner account information. Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
delete_account
Deletes the team account plus all projects and vaults. Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Set true to confirm deletion. |
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
rotate_api_key
Issues a fresh integrator API key. Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
integrator_id | string | Optional integrator identifier (defaults to existing integrator or 'default'). |
integrator_name | string | Optional integrator display name. |
get-security-issues
Returns deduplicated security findings for a project (all vaults) or a single vault. Provide exactly one of project_id or vault_id. Requires full data access (a paid plan; verification-only plans are not included). Every issue always includes these keys (null when not set): cwe, owasp, package_name, package_version, package_ecosystem, lockfile_path, advisory_id, cve_id, ghsa_id, cvss_score, cvss_version, cvss_vector, fix_versions, reachability. Code findings (issue_type 'code') only carry cwe and owasp; dependency findings (issue_type 'dependency') may carry any of them; findings from older sc…
| Parameter | Type | Description |
|---|---|---|
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
check_id | string | Filter: exact match on the security check id. |
file | string | Filter: substring match on file path. |
issue_id | string | Return only this specific issue id. |
limit | integer | Max results to return (default 50, max 200). |
offset | integer | Number of results to skip, for pagination. |
project_id | string | Project id (from create_project). Returns data aggregated across all vaults in the project. |
severity | array | Filter to one or more severities (e.g. ERROR, WARNING, INFO). |
status | string | Filter: triage status (e.g. open, resolved, ignored). |
tag | string | Filter: triage tag name. |
vault_id | string | Vault id (from create-code-vault or list_vaults). Returns data for this vault only. |
get-code-smells
Returns code smell findings for a project (all vaults) or a single vault. Provide exactly one of project_id or vault_id. Requires full data access (a paid plan; verification-only plans are not included). Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
file | string | Filter: substring match on file path. |
issue_id | string | Return only this specific code smell id. |
issue_type | string | Filter: exact match on issue type. |
limit | integer | Max results to return (default 50, max 200). |
offset | integer | Number of results to skip, for pagination. |
project_id | string | Project id (from create_project). Returns data aggregated across all vaults in the project. |
vault_id | string | Vault id (from create-code-vault or list_vaults). Returns data for this vault only. |
get-git-history
Returns git commit history for a project (all vaults) or a single vault. Provide exactly one of project_id or vault_id. Requires full data access (a paid plan; verification-only plans are not included). Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
author | string | Filter: exact match on commit author (case-insensitive). |
branch | string | Filter: exact match on branch name. |
date_from | string | Filter: commits on or after this date (YYYY-MM-DD). |
date_to | string | Filter: commits on or before this date (YYYY-MM-DD). |
limit | integer | Max results to return (default 50, max 200). |
offset | integer | Number of results to skip, for pagination. |
project_id | string | Project id (from create_project). Returns data aggregated across all vaults in the project. |
vault_id | string | Vault id (from create-code-vault or list_vaults). Returns data for this vault only. |
get-contributors
Returns aggregated contributor stats (commit count, lines added/deleted, first/last commit) for a project (all vaults) or a single vault. Provide exactly one of project_id or vault_id. Requires full data access (a paid plan; verification-only plans are not included). Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
author | string | Filter: exact match on commit author (case-insensitive). |
branch | string | Filter: exact match on branch name. |
date_from | string | Filter: commits on or after this date (YYYY-MM-DD). |
date_to | string | Filter: commits on or before this date (YYYY-MM-DD). |
limit | integer | Max results to return (default 50, max 200). |
offset | integer | Number of results to skip, for pagination. |
project_id | string | Project id (from create_project). Returns data aggregated across all vaults in the project. |
vault_id | string | Vault id (from create-code-vault or list_vaults). Returns data for this vault only. |
get-components
Returns detected open-source/CMS components for a project (all vaults) or a single vault. Provide exactly one of project_id or vault_id. Requires full data access (a paid plan; verification-only plans are not included). A component is outdated only when current_version and latest_version are both set and differ. current_version is null with version_pinned: false when the version isn't pinned: the dependency is declared as a version range with no lockfile and the latest release is within that range, so a fresh install gets the latest release. Do not describe such components as outdated or as an…
| Parameter | Type | Description |
|---|---|---|
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
limit | integer | Max results to return (default 50, max 200). |
name | string | Filter: substring match on component name. |
offset | integer | Number of results to skip, for pagination. |
only_outdated | boolean | Only return outdated components: current_version and latest_version both set and different. Components with a null current_version (not pinned) are never outdated. |
project_id | string | Project id (from create_project). Returns data aggregated across all vaults in the project. |
sort_by_size | boolean | Sort by total_lines_of_code descending instead of by name. |
url | string | Filter: substring match on component URL. |
vault_id | string | Vault id (from create-code-vault or list_vaults). Returns data for this vault only. |
vendor | string | Filter: substring match on vendor. |
get-component-usage
Where is an open-source component used? Returns every file in the customer's code matched to components whose name contains `component` (case-insensitive), with match type, matched line ranges, matched %, the component version matched against, and licences. Provide exactly one of project_id or vault_id. Requires full data access (a paid plan; verification-only plans are not included). A component is outdated only when current_version and latest_version are both set and differ. current_version is null with version_pinned: false when the version isn't pinned: the dependency is declared as a vers…
| Parameter | Type | Description |
|---|---|---|
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
component | string | Component name or part of it (case-insensitive), as listed by get-components. |
limit | integer | Max results to return (default 50, max 200). |
match_type | string | Optional: only this match type. Components pulled in as dependencies can have thousands of 'dependency' rows; use 'file' or 'snippet' to see copied code only. |
offset | integer | Number of results to skip, for pagination. |
project_id | string | Project id (from create_project). Returns data aggregated across all vaults in the project. |
vault_id | string | Vault id (from create-code-vault or list_vaults). Returns data for this vault only. |
get-copied-code
Which of the customer's code came from open source? Returns every partial-copy ('snippet') match, highest matched % first: the customer's file and line ranges, the open-source file and line ranges it matches, the component and version, and licences. Includes components that were only found this way (snippet_only_component: true), which get-components does not list. Each match has `copyleft` set to the strongest copyleft licence involved: 'network' (AGPL-style: obligations apply even when the software is only offered as an online service), 'strong' (GPL-style: the combined work may have to be r…
| Parameter | Type | Description |
|---|---|---|
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
component | string | Optional: substring match on component name (case-insensitive). |
copyleft_only | boolean | Only matches involving a copyleft licence (GPL, AGPL, LGPL, MPL, EPL, CDDL, etc.). |
license | string | Optional: only matches whose file or component carries this licence (case-insensitive; 'GPL' also matches 'GPL-2.0-only' and 'GPL-3.0+', but not 'LGPL-2.1'). |
limit | integer | Max results to return (default 50, max 200). |
min_matched_percent | number | Optional: only matches where at least this % of the customer's file matched. |
offset | integer | Number of results to skip, for pagination. |
project_id | string | Project id (from create_project). Returns data aggregated across all vaults in the project. |
vault_id | string | Vault id (from create-code-vault or list_vaults). Returns data for this vault only. |
get-file-open-source-matches
Is there open-source code in a given file or folder? Returns every open-source match for a file path (exact) or folder (every file under it), relative to the code root, with component, match type, line ranges and licences. Requires vault_id and full data access (a paid plan; verification-only plans are not included). An empty `matches` list with file_detail.status 'available' means no open-source matches were found for that path. Match types, in plain language: 'file' = the whole file is a copy of a file from the open-source project; 'snippet' = part of the file was copied (`lines` gives the c…
| Parameter | Type | Description |
|---|---|---|
path * | string | File path or folder relative to the code root, e.g. 'app/Foo.php' or 'app/Http'. |
vault_id * | string | Vault id (from create-code-vault or list_vaults). |
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
limit | integer | Max results to return (default 50, max 200). |
offset | integer | Number of results to skip, for pagination. |
get-license-evidence
Why do you say we use a licence? For a licence name (case-insensitive; 'GPL' also matches 'GPL-2.0-only' but not 'LGPL-2.1'), returns the matching licence names, its copyleft level, the components that declare it (component_level), counts of file-level evidence per source (file_evidence_by_source), and a paginated list of that evidence (file_evidence) ordered by source. Sources, in plain language: file_header = a licence comment at the top of the matched file; scancode = licence wording detected in the file's text; license_file = the open-source project's own LICENSE file; underlying_license_f…
| Parameter | Type | Description |
|---|---|---|
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
license | string | Licence name or SPDX id, e.g. 'GPL-2.0' or 'MIT'. |
limit | integer | Max results to return (default 50, max 200). |
offset | integer | Number of results to skip, for pagination. |
project_id | string | Project id (from create_project). Returns data aggregated across all vaults in the project. |
vault_id | string | Vault id (from create-code-vault or list_vaults). Returns data for this vault only. |
get-code-iq-automated-queries
Returns trimmed Code IQ automated analyses (architecture, scalability, EOL, AI functionality, etc.) for a project (aggregated) or a single vault. Excludes The Code Score — use get-the-code-score for that, and do not pass analysis_key=code_score here (404). Only cached results are returned; this never triggers a fresh analysis. Provide exactly one of project_id or vault_id. Requires full data access (a paid plan; verification-only plans are not included). Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
analysis_key | string | Optional: return only this analysis (e.g. project_architecture). Omit for all. |
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
project_id | string | Project id (from create_project). Returns data aggregated across all vaults in the project. |
vault_id | string | Vault id (from create-code-vault or list_vaults). Returns data for this vault only. |
get-the-code-score
Returns The Code Score (security/code-quality/dependencies, 1000 points) for a project (aggregated) or a single vault. Provide exactly one of project_id or vault_id. Requires full data access (a paid plan; verification-only plans are not included). If the plan doesn't include Code Score access, or it hasn't been generated yet, returns the same response shape with empty sections/priorities rather than an error. Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.
| Parameter | Type | Description |
|---|---|---|
api_key | string | Optional API key for clients that cannot set X-API-Key headers. |
project_id | string | Project id (from create_project). Returns data aggregated across all vaults in the project. |
vault_id | string | Vault id (from create-code-vault or list_vaults). Returns data for this vault only. |