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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Optional API key for clients that cannot set X-API-Key headers. | |
| vault_id | No | Vault id (from create-code-vault or list_vaults). Returns data for this vault only. | |
| project_id | No | Project id (from create_project). Returns data aggregated across all vaults in the project. |