Programmatic access to DryRun Security findings, scans, configurations, and insights via the Simple API.
Overview
DryRun Simple API #
The DryRun Simple API provides programmatic access to your organization's security data: pull request scans and findings, DeepScans and their findings, SBOMs, finding triage, configurations, repositories, and insights.
Access
Authentication #
For information on creating and managing API keys, see the API Access Keys page. All API requests require a valid API key sent in the Authorization header using the Bearer scheme.
First request
Quick Start #
Most endpoints are scoped to an account. You will need:
account_id - provided by the DryRun Security platform (e.g., 12345678-1234-1234-1234-1234567890ab)
repository_id - a UUID for a repository
Typical workflow:
- List your accessible accounts.
- Pick an account, then list repositories in that account.
- Use repository IDs to fetch pull request scans, DeepScans, and their findings.
Step 1: List accounts #
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts"
Example response:
{
"data": [
{
"account_id": "22222222-2222-2222-2222-222222222222",
"org_name": "SampleOrg",
...
}
]
}
Step 2: Get repositories #
curl -X 'GET' \
-H 'Authorization: Bearer $DRYRUN_API_KEY' \
'https://simple-api.dryrun.security/v1/accounts/22222222-2222-2222-2222-222222222222/repositories'
Example response:
{
"data": [
{
"id": "11111111-1111-1111-1111-111111111111",
"name": "some-demo-repo-name",
...
}
]
}
Step 3: Get pull request findings for a repository #
curl -X 'GET' \
-H 'Authorization: Bearer $DRYRUN_API_KEY' \
'https://simple-api.dryrun.security/v1/accounts/22222222-2222-2222-2222-222222222222/repositories/11111111-1111-1111-1111-111111111111/pr_findings'
Example response:
{
"data": [
{
"id": "00000000-0000-0000-0000-000000000000",
"dashboard_url": "https://app.dryrun.security/risk-register/44444444-4444-4444-4444-444444444444",
"severity": "error",
"type": "Missing Authorization and IDOR in User Deletion",
"description": "The new DELETE /users/{id} endpoint is registered without any authentication or authorization middleware...",
"filename": "backend/main.go",
"line_start": 516,
"line_end": 553,
"created_at": "2026-03-03T00:00:00Z"
},
...
]
}
Reference
Endpoint Reference #
Accounts #
GET
/v1/accounts
List accounts accessible by the API key.
Retrieve all accounts that the authenticated API key has access to, including organization information.
Parameters
| Name | In | Required | Type | Description |
| page_size | query | no | integer | Records per page (1-500). Omit page_size and page_token to keep the default behavior: all matching records. |
| page_token | query | no | string | Continuation token from the previous response's pagination.next_page_token. |
| sort_by | query | no | string | Sort field. Default: created_at. One of: created_at |
| sort_order | query | no | string | Sort direction. Default: desc. One of: asc, desc |
Response Fields (each item in data)
| Field | Type | Description |
account_id | string (uuid) | Account ID |
org_id | string | Organization ID (nullable) |
org_name | string | Organization name (nullable) |
org_path | string | Organization path in the SCM (for example, a GitLab group path) (nullable) |
provider_type | string | Provider type (for example,, 'github', 'gitlab') (nullable) |
active | boolean | Whether the account is active |
created_at | string (date-time) | (nullable) |
Responses
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts"
Repositories #
GET
/v1/accounts/{account_id}/repositories
List repositories for an account.
Retrieve repositories for an account. Use the 'id' field when assigning configurations to repositories.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| page_size | query | no | integer | Records per page (1-500). Omit page_size and page_token to keep the default behavior: all matching records. |
| page_token | query | no | string | Continuation token from the previous response's pagination.next_page_token. |
| sort_by | query | no | string | Sort field. Default: name. One of: name, created_at |
| sort_order | query | no | string | Sort direction. Default: asc. One of: asc, desc |
Response Fields (each item in data)
| Field | Type | Description |
id | string (uuid) | Repository ID - use this when assigning configurations |
name | string | Repository name (nullable) |
provider_repo_id | integer | External provider repository ID (for example,, GitHub repo ID) |
configuration_id | string (uuid) | Legacy repository-configuration ID. PR configuration assignments are NOT reflected here; use repository_ids on GET /configurations to see which repositories a configuration is assigned to. (nullable) |
enabled | boolean | Whether the repository is enabled for scanning |
created_at | string (date-time) | (nullable) |
Responses
200 - repositories listed
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/repositories"
Pull Request Scans #
GET
/v1/accounts/{account_id}/repositories/{repository_id}/pr_findings
List pull-request findings for a repository.
Retrieve all findings for a repository. When paginating with commit_sha, use the same commit_sha with each page_token.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| repository_id | path | yes | string | Repository ID |
| commit_sha | query | no | string | Return only findings produced by this exact commit SHA |
| page_size | query | no | integer | Records per page (1-500). Omit page_size and page_token to keep the default behavior: all matching records. |
| page_token | query | no | string | Continuation token from the previous response's pagination.next_page_token. |
| sort_by | query | no | string | Sort field. Default: created_at. One of: created_at |
| sort_order | query | no | string | Sort direction. Default: desc. One of: asc, desc |
Response Fields (each item in data)
| Field | Type | Description |
id | string (uuid) | |
dashboard_url | string (uri) | URL to view this finding in the DryRun Security risk register |
pull_request_dashboard_url | string (uri) | URL to the pull request view of this finding in the DryRun Security dashboard. (nullable) |
severity | string | |
commit_sha | string | Git commit SHA that produced this finding (nullable) |
branch_name | string | Branch recorded for the finding's commit (nullable) |
repository_name | string | (nullable) |
repository_domain | string | SCM host, such as github.com or gitlab.com. Null when it cannot be determined uniquely. |
type | string | |
label | string | Classifier label (for example, auth_bypass, sqli, idor) (nullable) |
description | string | |
filename | string | |
line_start | integer | (nullable) |
line_end | integer | (nullable) |
created_at | string (date-time) | (nullable) |
Responses
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/repositories/{repository_id}/pr_findings"
GET
/v1/accounts/{account_id}/repositories/{repository_id}/findings
Deprecated
List pull-request findings for a repository.
Deprecated. Use GET /v1/accounts/{account_id}/repositories/{repository_id}/pr_findings instead. This path still works, but new integrations should use the replacement.
GET
/v1/accounts/{account_id}/repositories/{repository_id}/pr_scans
List PR scans for a repository.
Retrieve PR scan results for a repository with optional filtering. Without pagination parameters this endpoint returns the 100 most recent scans; use page_size/page_token to walk the full history.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| repository_id | path | yes | string | Repository ID |
| page_size | query | no | integer | Records per page (1-500). Omit page_size and page_token to keep the default behavior: the 100 most recent scans (pagination.has_more/next_page_token are still populated). |
| page_token | query | no | string | Continuation token from the previous response's pagination.next_page_token. |
| sort_by | query | no | string | Sort field. Default: created_at. One of: created_at |
| sort_order | query | no | string | Sort direction. Default: desc. One of: asc, desc |
| date_from | query | no | string | Filter scans from this date (ISO 8601 format) |
| date_to | query | no | string | Filter scans to this date (ISO 8601 format) |
| initiated_by | query | no | string | Filter by user ID who initiated the scan |
| result | query | no | string | Filter by risk level (comma-separated: failing, risky, info) |
| severity | query | no | string | Filter by scan severity (comma-separated: critical, high, medium, low, none). Matches the top-level severity response field. |
| pr_number | query | no | integer | Filter scans by pull request number |
| pr_status | query | no | string | Filter by pull request status (comma-separated: open, draft, closed, merged) |
Response Fields (each item in data)
| Field | Type | Description |
scan_id | string (uuid) | Scan/Run ID |
dashboard_url | string (uri) | URL to view this scan in the DryRun Security dashboard |
pr_number | integer | Pull request number |
pr_title | string | Pull request title (nullable) |
pr_status | string | Pull request status (nullable) |
scan_date | string (date-time) | When the scan was performed (nullable) |
initiated_by | string (uuid) | User ID who initiated the scan (nullable) |
status | string | Scan status (nullable) |
summary | string | Developer-facing scan summary/comment (nullable) |
vulnerability_summary | string | AppSec-facing vulnerability summary (nullable) |
severity | string | Highest severity finding on this scan/PR. Null when the scan has no risk threshold assigned yet (for example, the scan is still running). none means the scan produced zero findings. One of: none, low, medium, high, critical |
risk_threshold | string | Legacy pass/fail identifier for the same risk assessment as severity. The two are different views of one value: none to none, passing to low, risky to medium, unknown to none, failing to critical. Prefer severity. One of: none, passing, risky, unknown, failing (nullable) |
Responses
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/repositories/{repository_id}/pr_scans"
GET
/v1/accounts/{account_id}/repositories/{repository_id}/scans
Deprecated
List PR scans for a repository.
Deprecated. Use GET /v1/accounts/{account_id}/repositories/{repository_id}/pr_scans instead. This path still works, but new integrations should use the replacement.
GET
/v1/accounts/{account_id}/repositories/{repository_id}/pr_scans/{id}
Get detailed PR scan results.
Retrieve detailed scan results including findings/vulnerabilities for a specific PR scan.
Each finding in findings has the same details and current triage as Get complete finding details by ID, so you do not need a separate request per finding.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| repository_id | path | yes | string | Repository ID |
| id | path | yes | string | Scan ID |
| findings_result | query | no | string | Filter findings by severity (comma-separated: failing, risky, info) |
Response Fields
| Field | Type | Description |
scan_id | string (uuid) | Scan/Run ID |
dashboard_url | string (uri) | URL to view this scan in the DryRun Security dashboard. Null when the scan was not triggered by a pull request. |
pr_number | integer | Pull request number |
pr_title | string | Pull request title (nullable) |
pr_status | string | Pull request status (nullable) |
scan_date | string (date-time) | When the scan was performed (nullable) |
initiated_by | string (uuid) | User ID who initiated the scan (nullable) |
status | string | Scan status (nullable) |
summary | string | Developer-facing scan summary/comment (nullable) |
vulnerability_summary | string | AppSec-facing vulnerability summary (nullable) |
severity | string | Highest severity finding on this scan/PR. Null when the scan has no risk threshold assigned yet (for example, the scan is still running). none means the scan produced zero findings. Not affected by the findings_result filter, which only narrows the findings array. One of: none, low, medium, high, critical |
risk_threshold | string | Legacy pass/fail identifier for the same risk assessment as severity. The two are different views of one value: none to none, passing to low, risky to medium, unknown to none, failing to critical. Prefer severity. One of: none, passing, risky, unknown, failing (nullable) |
findings | array of objects | Findings from this scan, with the same finding details and current triage as finding-by-ID. Account, repository, and scan context are omitted from individual findings except for the commit SHA and pull request dashboard URL. |
findings_count | integer | Total number of findings |
Responses
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/repositories/{repository_id}/pr_scans/{id}"
GET
/v1/accounts/{account_id}/repositories/{repository_id}/scans/{id}
Deprecated
Get detailed PR scan results.
Deprecated. Use GET /v1/accounts/{account_id}/repositories/{repository_id}/pr_scans/{id} instead. This path still works, but new integrations should use the replacement.
DeepScans #
GET
/v1/accounts/{account_id}/deepscans
List all DeepScans for an account.
List all DeepScans for an account.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| date_from | query | no | string | Lower bound. Filters DeepScan created_at. Use YYYY-MM-DD (UTC calendar day) or ISO 8601 timestamps with Z or an explicit offset. Bounds are inclusive; a date-only date_to includes the entire UTC day. Either bound may be omitted. Invalid/blank values and reversed ranges return 400. Repeat the same date filters with page_token. |
| date_to | query | no | string | Upper bound. Filters DeepScan created_at. Use YYYY-MM-DD (UTC calendar day) or ISO 8601 timestamps with Z or an explicit offset. Bounds are inclusive; a date-only date_to includes the entire UTC day. Either bound may be omitted. Invalid/blank values and reversed ranges return 400. Repeat the same date filters with page_token. |
| page_size | query | no | integer | Records per page (1-500). Omit page_size and page_token to return all matching records. |
| page_token | query | no | string | Continuation token from the previous response's pagination.next_page_token. |
| sort_by | query | no | string | Sort field. Default: created_at. One of: created_at |
| sort_order | query | no | string | Sort direction. Default: desc. One of: asc, desc |
Response Fields (each item in data)
| Field | Type | Description |
id | string (uuid) | |
repository_id | string (uuid) | |
repository_name | string | |
type | string | |
branch | string | (nullable) |
commit_sha | string | (nullable) |
retry_count | integer | |
triggered_by | | |
created_at | string (date-time) | |
Responses
200 - DeepScans listed
400 - invalid date range or pagination parameters
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/deepscans"
GET
/v1/accounts/{account_id}/deepscans/limits
Get remaining DeepScan credits for an account.
Returns the account's DeepScan rate-limit state. repository_deep_scan.available is the number of full scans the account can still trigger in the current window; it already accounts for scans that are in flight. Check this before calling the trigger endpoint from CI/CD to avoid 429 responses. A window of until:<timestamp> ends at that exclusive UTC deadline.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
Response Fields
| Field | Type | Description |
limits | object | Same structure agent-router returns on the trigger endpoint, plus resets_at |
last_scan_at | string (date-time) | Created time of the account's most recent full scan (nullable) |
Responses
200 - DeepScan limits returned
403 - API key cannot access account
503 - limits temporarily unavailable
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/deepscans/limits"
GET
/v1/accounts/{account_id}/repositories/{repository_id}/deepscans/{deepscan_id}/findings
List findings for a DeepScan.
List findings for a DeepScan.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| repository_id | path | yes | string | Repository ID |
| deepscan_id | path | yes | string | DeepScan ID |
| severity | query | no | string | Filter by severity (comma-separated). Valid values: critical, high, medium, low |
| page_size | query | no | integer | Records per page (1-500). Omit page_size and page_token to keep the default behavior: all matching records. |
| page_token | query | no | string | Continuation token from the previous response's pagination.next_page_token. |
| sort_by | query | no | string | Sort field. Default: created_at. One of: created_at, severity |
| sort_order | query | no | string | Sort direction. Default: asc. One of: asc, desc |
Response Fields (each item in data)
| Field | Type | Description |
id | string (uuid) | |
dashboard_url | string (uri) | URL to view this finding in the DryRun Security risk register |
title | string | |
description | string | |
severity | string | |
commit_sha | string | Git commit SHA that produced this finding (nullable) |
technical_details | string | |
impact | string | |
remediation | string | |
locations | array of objects | (nullable) |
created_at | string (date-time) | (nullable) |
Responses
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/repositories/{repository_id}/deepscans/{deepscan_id}/findings"
GET
/v1/accounts/{account_id}/repositories/{repository_id}/deepscans/{deepscan_id}/results
Deprecated
List findings for a DeepScan.
Deprecated. Use GET /v1/accounts/{account_id}/repositories/{repository_id}/deepscans/{deepscan_id}/findings instead. This path still works, but new integrations should use the replacement.
GET
/v1/accounts/{account_id}/repositories/{repository_id}/deepscans
List DeepScans for a repository.
List DeepScans for a repository.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| repository_id | path | yes | string | Repository ID |
| date_from | query | no | string | Lower bound. Filters DeepScan created_at. Use YYYY-MM-DD (UTC calendar day) or ISO 8601 timestamps with Z or an explicit offset. Bounds are inclusive; a date-only date_to includes the entire UTC day. Either bound may be omitted. Invalid/blank values and reversed ranges return 400. Repeat the same date filters with page_token. |
| date_to | query | no | string | Upper bound. Filters DeepScan created_at. Use YYYY-MM-DD (UTC calendar day) or ISO 8601 timestamps with Z or an explicit offset. Bounds are inclusive; a date-only date_to includes the entire UTC day. Either bound may be omitted. Invalid/blank values and reversed ranges return 400. Repeat the same date filters with page_token. |
| page_size | query | no | integer | Records per page (1-500). Omit page_size and page_token to keep the default behavior: all matching records. |
| page_token | query | no | string | Continuation token from the previous response's pagination.next_page_token. |
| sort_by | query | no | string | Sort field. Default: created_at. One of: created_at |
| sort_order | query | no | string | Sort direction. Default: desc. One of: asc, desc |
Response Fields (each item in data)
| Field | Type | Description |
id | string (uuid) | |
repository_id | string (uuid) | |
type | string | |
branch | string | (nullable) |
commit_sha | string | (nullable) |
retry_count | integer | |
triggered_by | | |
created_at | string (date-time) | |
Responses
200 - DeepScans listed
400 - invalid date range or pagination parameters
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/repositories/{repository_id}/deepscans"
POST
/v1/accounts/{account_id}/repositories/{repository_id}/deepscans
Trigger a new DeepScan.
Trigger a new DeepScan.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| repository_id | path | yes | string | Repository ID |
Request Body
{
"branch": "string"
}
| Field | Type | Description |
branch | string | Valid Git branch name to scan (for example, main or feature/my-change). Invalid names return 400. If omitted or null, the repository's default branch is scanned. |
Response Fields
| Field | Type | Description |
id | string (uuid) | |
repository_id | string (uuid) | |
status | string | |
limits | object | Account DeepScan quota state after this trigger. Null if the limiter lookup failed upstream. |
Responses
202 - DeepScan triggered
400 - Returned when branch is not a valid Git branch name or request contains unsupported parameters. Note commit_sha and full_scan are not currently supported.
404 - repository not found
409 - A DeepScan is already in progress for this repository
422 - API key has no associated user
429 - scan quota exceeded
502 - scan could not be started
Example (curl)
curl -X POST \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"branch": "string"}' \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/repositories/{repository_id}/deepscans"
GET
/v1/accounts/{account_id}/repositories/{repository_id}/deepscans/{id}/artifacts
List downloadable artifacts for a DeepScan.
List downloadable artifacts for a DeepScan.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| repository_id | path | yes | string | Repository ID |
| id | path | yes | string | DeepScan ID |
Response Fields (each item in data)
| Field | Type | Description |
name | string | |
title | string | |
download_url | string (uri) | |
download_url_expires_at | string (date-time) | |
Responses
200 - artifact links returned
404 - DeepScan not found
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/repositories/{repository_id}/deepscans/{id}/artifacts"
GET
/v1/accounts/{account_id}/repositories/{repository_id}/deepscans/{deepscan_id}/sca_results
List SCA findings for a DeepScan.
List SCA findings for a DeepScan.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| repository_id | path | yes | string | Repository ID |
| deepscan_id | path | yes | string | DeepScan ID |
| severity | query | no | string | Filter by severity (comma-separated). Valid values: critical, high, medium, low |
| page_size | query | no | integer | Records per page (1-500). Omit page_size and page_token to keep the default behavior: all matching records. |
| page_token | query | no | string | Continuation token from the previous response's pagination.next_page_token. |
| sort_by | query | no | string | Sort field. Default: created_at. One of: created_at, severity |
| sort_order | query | no | string | Sort direction. Default: asc. One of: asc, desc |
Response Fields (each item in data)
| Field | Type | Description |
id | string (uuid) | |
dashboard_url | string (uri) | URL to view this finding in the DryRun Security risk register |
title | string | |
description | string | (nullable) |
severity | string | |
commit_sha | string | Git commit SHA that produced this finding (nullable) |
package_name | string | |
package_version | string | |
package_ecosystem | string | |
cve_id | string | (nullable) |
cvss_score | number | (nullable) |
cvss_vector | string | (nullable) |
fixed_version | string | (nullable) |
remediation | string | (nullable) |
locations | array of objects | (nullable) |
references | array of objects | (nullable) |
first_detected_at | string (date-time) | (nullable) |
last_detected_at | string (date-time) | (nullable) |
created_at | string (date-time) | (nullable) |
Responses
200 - SCA findings listed
404 - DeepScan not found
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/repositories/{repository_id}/deepscans/{deepscan_id}/sca_results"
SBOM #
GET
/v1/accounts/{account_id}/repositories/{repository_id}/deepscans/{deepscan_id}/sbom
Get SBOM for a DeepScan.
Retrieve SBOM metadata and a time-limited download URL for the latest generated CycloneDX SBOM.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| repository_id | path | yes | string | Repository ID |
| deepscan_id | path | yes | string | DeepScan ID |
Response Fields
| Field | Type | Description |
deepscan_id | string (uuid) | |
repository_id | string (uuid) | |
branch | string | (nullable) |
commit_sha | string | (nullable) |
format | string | |
component_count | integer | |
generated_at | string (date-time) | (nullable) |
vulnerability_summary | object | |
download_url | string (uri) | |
download_url_expires_at | string (date-time) | |
Responses
200 - SBOM metadata and download URL
404 - DeepScan not found
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/repositories/{repository_id}/deepscans/{deepscan_id}/sbom"
GET
/v1/accounts/{account_id}/repositories/{repository_id}/deepscans/sbom
Get latest SBOM for a repository.
Retrieve SBOM metadata and a time-limited download URL for the most recent CycloneDX SBOM generated for a repository.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| repository_id | path | yes | string | Repository ID |
Response Fields
| Field | Type | Description |
repository_id | string (uuid) | |
branch | string | (nullable) |
commit_sha | string | (nullable) |
format | string | |
component_count | integer | |
generated_at | string (date-time) | (nullable) |
vulnerability_summary | object | |
download_url | string (uri) | |
download_url_expires_at | string (date-time) | |
Responses
200 - SBOM metadata and download URL
404 - repository not found
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/repositories/{repository_id}/deepscans/sbom"
Findings #
GET
/v1/accounts/{account_id}/all_findings
List all findings for an account.
Retrieve all findings across Pull Request Scans, DeepScans, SCA, and code policies for an account. By default, only returns findings from the latest scan (from_latest_scan=true). For SCA and DeepScan findings, returns findings from all branches unless a branch parameter is specified.
Each finding includes a state field indicating its current status: open (present in the latest scan and not triaged), dismissed (triaged with a category such as false positive or accepted risk), or resolved (no longer present in the latest scan). Triaged findings also include a triage object with the category and category_name.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| days | query | yes | integer | Filter to findings from the last N days (1-365). Required to prevent unbounded queries. |
| finding_type | query | no | string | Filter by finding type. Defaults to 'all' One of: deepscan, pullrequest, sca, code_policy, all |
| severity | query | no | string | Filter by severity (comma-separated: critical,high,medium,low) |
| repository_id | query | no | string | Filter by repository ID |
| commit_sha | query | no | string | Return only findings with this exact stored commit SHA. Findings without a commit SHA are excluded. Use all_results=true to include historical scans. |
| branch | query | no | string | Filter SCA and DeepScan findings by branch name. When not specified, returns findings from all branches. Does not affect PR or Code Policy findings. |
| all_results | query | no | boolean | When true, returns all findings including historical scans. When false (default), returns only findings from the latest scan for each repository/branch. |
| page_size | query | no | integer | Results per page (default: 50, max: 100). Preferred over per_page. |
| page_token | query | no | string | Continuation token from the previous response's pagination.next_page_token. Takes precedence over page. |
| page | query | no | integer | Legacy page number (default: 1). Prefer page_token. |
| per_page | query | no | integer | Legacy alias of page_size (default: 50, max: 100) |
Response Fields (each item in data)
| Field | Type | Description |
id | string (uuid) | Finding ID - use this with the triage endpoints |
finding_type | string | Source of the finding One of: deepscan, pullrequest, sca, code_policy |
dashboard_url | string (uri) | URL to view this finding in the DryRun Security dashboard |
pull_request_dashboard_url | string (uri) | URL to the pull request view of this finding in the DryRun Security dashboard. (nullable) |
severity | string | Finding severity (critical, high, medium, low) |
type | string | Finding type/title |
label | string | Vulnerability type label (for example, auth_bypass, sqli, idor) (nullable) |
commit_sha | string | Git commit SHA that produced this finding (nullable) |
branch_name | string | Branch recorded for the finding's commit or scan (nullable) |
description | string | (nullable) |
filename | string | (nullable) |
line_start | integer | (nullable) |
line_end | integer | (nullable) |
repository_name | string | (nullable) |
repository_domain | string | SCM host, such as github.com or gitlab.com. (nullable) |
pr_number | integer | Pull/merge request number (for pullrequest findings only) (nullable) |
created_at | string (date-time) | (nullable) |
state | string | Derived finding state: open (from latest scan, not triaged), dismissed (triaged), resolved (not in latest scan) One of: open, dismissed, resolved |
triage | object | Triage status if set, null if not triaged |
Responses
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/all_findings?days=7"
GET
/v1/accounts/{account_id}/findings/{finding_id}
Get complete finding details by ID.
Retrieve full details about an individual finding.
The fields returned depend on the finding type: pullrequest, deepscan, or sca. The example below is a pull request finding.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account UUID (case-insensitive) |
| finding_id | path | yes | string | Finding UUID (case-insensitive) |
| finding_type | query | no | string | Optional exact type filter. Omit to auto-detect; supply to search only that type and disambiguate possible ID collisions. One of: pullrequest, deepscan, sca |
Example response
{
"data": {
"id": "11111111-1111-4111-8111-111111111111",
"account_id": "22222222-2222-4222-8222-222222222222",
"repository_id": "33333333-3333-4333-8333-333333333333",
"repository_name": "api",
"repository_full_name": "example/api",
"provider_repo_id": 12345,
"dashboard_url": "https://app.dryrun.security/risk-register?finding=11111111-1111-4111-8111-111111111111",
"severity": "high",
"description": "Untrusted input reaches a SQL query without parameter binding.",
"scan_id": "44444444-4444-4444-8444-444444444444",
"branch": "main",
"commit_sha": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"pr_number": 42,
"from_latest_scan": false,
"state": "resolved",
"triage": null,
"created_at": "2026-01-01T00:00:00Z",
"finding_type": "pullrequest",
"type": "SQL injection",
"label": "sqli",
"confidence": "high",
"filename": "src/api.rb",
"line_start": 12,
"line_end": 15,
"pull_request_dashboard_url": "https://app.dryrun.security/pull-requests/55555555-5555-4555-8555-555555555555",
"meta": {
"remediation": "Use bound parameters"
},
"investigation_details": {
"impact": "Database contents can be exposed"
},
"severity_details": {
"rationale": "Unauthenticated access"
}
}
}
Responses
200 - canonical finding details
400 - invalid account/finding UUID or finding_type
401 - missing, invalid, or revoked API key
403 - API key cannot access account
404 - finding absent from this account
409 - finding UUID matches more than one supported type in this account
500 - unable to retrieve finding
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/findings/{finding_id}"
Triage #
GET
/v1/accounts/{account_id}/triage/categories
List triage categories.
List the current UI triage categories. Use a returned slug when setting triage. The aliases object maps legacy API inputs to canonical slugs; aliases are not separate categories. Without pagination parameters all categories are returned.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| page_size | query | no | integer | Records per page (1-500). Omit page_size and page_token to keep the default behavior: all matching records. |
| page_token | query | no | string | Continuation token from the previous response's pagination.next_page_token. |
| sort_by | query | no | string | Sort field. Default: slug. One of: slug, name |
| sort_order | query | no | string | Sort direction. Default: asc. One of: asc, desc |
Response Fields (each item in data)
| Field | Type | Description |
slug | string | |
name | string | (nullable) |
description | string | (nullable) |
Responses
200 - categories listed
400 - invalid pagination or sorting
401 - authentication required
403 - account access denied
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/triage/categories"
GET
/v1/accounts/{account_id}/findings/{finding_id}/triage
Get triage status for a finding.
Get the current triage status for a finding.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| finding_id | path | yes | string | Finding ID (UUID) |
| finding_type | query | yes | string | Type of finding One of: deepscan, pullrequest, sca, code_policy |
Response Fields
| Field | Type | Description |
id | string (uuid) | |
finding_id | string (uuid) | |
finding_type | string | |
category | string | |
category_name | string | (nullable) |
notes | string | (nullable) |
created_by | string | (nullable) |
created_at | string (date-time) | (nullable) |
Responses
200 - no triage found (returns null data)
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/findings/{finding_id}/triage?finding_type={finding_type}"
POST
/v1/accounts/{account_id}/findings/{finding_id}/triage
Set triage category for a finding.
Set or update the triage category for a finding. Supports DeepScan, pull request, SCA, and code policy findings.
Use GET /v1/accounts/{account_id}/triage/categories for current category slugs. wont_fix is an alias for nit.
Valid finding types: deepscan, pullrequest, sca, code_policy.
notes is optional, but triage decisions without an explanation are not used to inform future scans.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| finding_id | path | yes | string | Finding ID (UUID) |
Request Body
{
"finding_type": "deepscan",
"category": "false_positive",
"notes": "Input is validated by the upstream gateway before reaching this handler"
}
| Field | Type | Description |
finding_type | string | Required. Type of finding. Valid values: deepscan, pullrequest, sca, code_policy |
category | string | Required. Category slug from GET /v1/accounts/{account_id}/triage/categories (for example resolved, nit, false_positive, accepted_risk, in_progress). Legacy wont_fix is an alias for nit. Responses use the canonical slug. |
notes | string | Optional notes explaining the triage decision (nullable) |
Response Fields
| Field | Type | Description |
id | string (uuid) | |
finding_id | string (uuid) | |
finding_type | string | |
category | string | |
category_name | string | (nullable) |
notes | string | (nullable) |
created_by | string | (nullable) |
created_at | string (date-time) | (nullable) |
Responses
200 - triage set successfully
Example (curl)
curl -X POST \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"finding_type": "deepscan", "category": "false_positive", "notes": "Input is validated by the upstream gateway before reaching this handler"}' \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/findings/{finding_id}/triage"
DELETE
/v1/accounts/{account_id}/findings/{finding_id}/triage
Remove triage category from a finding.
Remove the triage category from a finding.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| finding_id | path | yes | string | Finding ID (UUID) |
| finding_type | query | yes | string | Type of finding One of: deepscan, pullrequest, sca, code_policy |
Responses
204 - triage removed successfully
Example (curl)
curl -X DELETE \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/findings/{finding_id}/triage?finding_type={finding_type}"
Configurations #
GET
/v1/accounts/{account_id}/configurations
List configurations for an account.
List configurations for an account.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| page_size | query | no | integer | Records per page (1-500). Omit page_size and page_token to keep the default behavior: all matching records. |
| page_token | query | no | string | Continuation token from the previous response's pagination.next_page_token. |
| sort_by | query | no | string | Sort field. Default: created_at. One of: created_at, name |
| sort_order | query | no | string | Sort direction. Default: desc. One of: asc, desc |
Response Fields (each item in data)
| Field | Type | Description |
id | string (uuid) | |
name | string | (nullable) |
configuration | object | (nullable) |
repository_ids | array of strings | Repositories explicitly assigned to this configuration. Repositories without an explicit assignment use the account default configuration and are not listed. |
created_at | string (date-time) | (nullable) |
Responses
200 - configurations listed
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/configurations"
POST
/v1/accounts/{account_id}/configurations
Create a new configuration.
Create a new configuration.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
Request Body
{
"configuration": {
"name": "string",
"configuration": {
"comment": "disabled",
"show_scan_confirmation": false,
"risk_threshold": 0,
"analyzers": {},
"code_policies": [
{
"id": null,
"enabled": null,
"silent": null,
"blocking": null
}
],
"notifications": {
"enabled": false,
"deduplicate": false,
"integrationNames": [null]
}
}
},
"repositories": [
"00000000-0000-0000-0000-000000000000"
]
}
| Field | Type | Description |
configuration | object | Required. |
repositories | array of strings | Optional: repository IDs to assign this configuration to (use /repositories endpoint to get valid IDs). A repository can belong to one configuration; listed repositories are moved off any configuration they were previously assigned to. |
Response Fields
| Field | Type | Description |
id | string (uuid) | |
name | string | |
configuration | object | (nullable) |
created_at | string (date-time) | |
Responses
201 - configuration created
Example (curl)
curl -X POST \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"configuration": {"name": "My Config", "configuration": {"comment": "disabled", "risk_threshold": 0, "analyzers": {}}}, "repositories": []}' \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/configurations"
GET
/v1/accounts/{account_id}/configurations/{id}
Get a single configuration.
Get a single configuration.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| id | path | yes | string | Configuration ID |
Response Fields
| Field | Type | Description |
id | string (uuid) | |
name | string | (nullable) |
configuration | object | (nullable) |
repository_ids | array of strings | Repositories explicitly assigned to this configuration |
created_at | string (date-time) | (nullable) |
Responses
200 - configuration found
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/configurations/{id}"
PUT
/v1/accounts/{account_id}/configurations/{id}
Update a configuration.
Update a configuration.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| id | path | yes | string | Configuration ID |
Request Body
{
"configuration": {
"name": "string",
"configuration": {
"comment": "disabled",
"show_scan_confirmation": false,
"risk_threshold": 0,
"analyzers": {},
"code_policies": [
{
"id": null,
"enabled": null,
"silent": null,
"blocking": null
}
],
"notifications": {
"enabled": false,
"deduplicate": false,
"integrationNames": [null]
}
}
}
}
| Field | Type | Description |
configuration | object | Required. |
repositories | array of strings | Optional: the COMPLETE list of repository IDs for this configuration. Replaces the current assignment list: repositories omitted here are unassigned (they fall back to the account default) and listed repositories are moved off any other configuration. Omit the field to leave assignments unchanged. |
Response Fields
| Field | Type | Description |
id | string (uuid) | |
name | string | (nullable) |
configuration | object | (nullable) |
repository_ids | array of strings | Repositories explicitly assigned to this configuration |
created_at | string (date-time) | (nullable) |
Responses
200 - configuration updated
Example (curl)
curl -X PUT \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"configuration": {"name": "Updated Config", "configuration": {"risk_threshold": 5}}}' \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/configurations/{id}"
PATCH
/v1/accounts/{account_id}/configurations/{id}
Update a configuration.
Update a configuration.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| id | path | yes | string | Configuration ID |
Request Body
{
"configuration": {
"name": "string",
"configuration": {
"comment": "disabled",
"show_scan_confirmation": false,
"risk_threshold": 0,
"analyzers": {},
"code_policies": [
{
"id": null,
"enabled": null,
"silent": null,
"blocking": null
}
],
"notifications": {
"enabled": false,
"deduplicate": false,
"integrationNames": [null]
}
}
}
}
| Field | Type | Description |
configuration | object | Required. |
repositories | array of strings | Optional: the COMPLETE list of repository IDs for this configuration. Replaces the current assignment list: repositories omitted here are unassigned (they fall back to the account default) and listed repositories are moved off any other configuration. Omit the field to leave assignments unchanged. |
Response Fields
| Field | Type | Description |
id | string (uuid) | |
name | string | (nullable) |
configuration | object | (nullable) |
repository_ids | array of strings | Repositories explicitly assigned to this configuration |
created_at | string (date-time) | (nullable) |
Responses
200 - configuration updated
Example (curl)
curl -X PATCH \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"configuration": {"configuration": {"risk_threshold": 5}}}' \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/configurations/{id}"
DELETE
/v1/accounts/{account_id}/configurations/{id}
Delete a configuration.
Delete a configuration.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| id | path | yes | string | Configuration ID |
Responses
204 - configuration deleted
Example (curl)
curl -X DELETE \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/configurations/{id}"
POST
/v1/accounts/{account_id}/configurations/bulk_update
Bulk update multiple configurations.
Bulk update multiple configurations.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
Request Body
{
"configuration_ids": [
"00000000-0000-0000-0000-000000000000"
],
"updates": {
"comment": "disabled",
"show_scan_confirmation": false,
"risk_threshold": 0,
"analyzers": {},
"code_policies": [
{
"id": "00000000-0000-0000-0000-000000000000",
"enabled": false,
"silent": false,
"blocking": false
}
],
"notifications": {
"enabled": false,
"deduplicate": false,
"integrationNames": ["string"]
}
}
}
| Field | Type | Description |
configuration_ids | array of strings | Required. Array of configuration IDs to update |
updates | object | Required. Configuration updates to apply to all specified configurations |
Response Fields
| Field | Type | Description |
updated_count | integer | |
total_count | integer | |
errors | array of objects | |
Responses
200 - configurations updated
Example (curl)
curl -X POST \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"configuration_ids": ["CONFIG_ID_1", "CONFIG_ID_2"], "updates": {"risk_threshold": 5}}' \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/configurations/bulk_update"
POST
/v1/accounts/{account_id}/configurations/assign_repositories
Assign a configuration to multiple repositories.
Sets the configuration's repository list to exactly the repositories matched by the request. This REPLACES the configuration's current assignments: repositories already assigned to it but not matched here are unassigned and fall back to the account default configuration. A repository can belong to only one configuration, so matched repositories are moved off any other configuration they were assigned to. To add a repository while keeping the existing ones, read repository_ids from GET /configurations/{id} and submit the combined list. Exactly one of repository_ids, repository_names or repository_pattern is used (in that order of precedence).
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
Request Body
{
"configuration_id": "00000000-0000-0000-0000-000000000000",
"repository_ids": [
"00000000-0000-0000-0000-000000000000"
],
"repository_names": [
"string"
],
"repository_pattern": "string"
}
| Field | Type | Description |
configuration_id | string (uuid) | Required. |
repository_ids | array of strings | Complete list of repository IDs for the configuration (replaces current assignments) |
repository_names | array of strings | Complete list of repository names for the configuration (replaces current assignments) |
repository_pattern | string | Literal name prefix (% and _ are not wildcards). Must be a string when used; ignored when repository_ids or repository_names takes precedence. Other types return 400 when no higher-priority selector is used; every repository whose name starts with it becomes the configuration's complete list (replaces current assignments) |
Response Fields
| Field | Type | Description |
configuration_id | string (uuid) | |
configuration_name | string | |
assigned_count | integer | Number of repositories now assigned to the configuration (the full list, not the delta) |
total_matched | integer | |
errors | array of objects | |
Responses
200 - repositories assigned
400 - repository_pattern must be a string
Example (curl)
curl -X POST \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"configuration_id": "CONFIG_ID", "repository_ids": ["REPO_ID"]}' \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/configurations/assign_repositories"
Analyzers #
GET
/v1/accounts/{account_id}/analyzers
List available analyzers.
Retrieve non-hidden analyzers the account is permitted to access, including disabled analyzers. Use the 'slug' field as the key in configuration analyzers object.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| page_size | query | no | integer | Records per page (1-500). Omit page_size and page_token to keep the default behavior: all matching records. |
| page_token | query | no | string | Token from the previous response's pagination.next_page_token. |
| sort_by | query | no | string | Sort field. Default: name. One of: name |
| sort_order | query | no | string | Sort direction. Default: asc. One of: asc, desc |
Response Fields (each item in data)
| Field | Type | Description |
id | string (uuid) | Analyzer ID |
name | string | Internal analyzer name |
slug | string | Analyzer slug - use this as the key in configuration analyzers object |
display_name | string | Human-readable display name (nullable) |
description | string | Analyzer description (nullable) |
enabled | boolean | Whether the analyzer is enabled in the account's default PR configuration |
configuration | object | Resolved analyzer settings for the account's default PR configuration (nullable) |
Responses
200 - analyzers listed
503 - analyzer permissions unavailable
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/analyzers"
Custom Policies #
GET
/v1/accounts/{account_id}/custom_policies
List custom code policies for an account.
Retrieve all custom code policies (NLCPs) for an account. These policies can be referenced in configurations using their ID.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| page_size | query | no | integer | Records per page (1-500). Omit page_size and page_token to keep the default behavior: all matching records. |
| page_token | query | no | string | Continuation token from the previous response's pagination.next_page_token. |
| sort_by | query | no | string | Sort field. Default: created_at. One of: created_at, updated_at |
| sort_order | query | no | string | Sort direction. Default: desc. One of: asc, desc |
Response Fields (each item in data)
| Field | Type | Description |
id | string (uuid) | Policy ID - use this in configuration code_policies array |
dashboard_url | string (uri) | URL to view this policy in the DryRun Security dashboard |
title | string | Policy title |
background | string | Background context for the policy (nullable) |
guidance | string | Implementation guidance (nullable) |
question | string | The policy question to evaluate |
created_at | string (date-time) | (nullable) |
updated_at | string (date-time) | (nullable) |
Responses
200 - custom policies listed
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/custom_policies"
Insights #
GET
/v1/accounts/{account_id}/insights
Get insights for an account.
Retrieve the daily insights digest for an account. Insights are generated daily and highlight important security-related changes from analyzed pull requests that deserve attention. Returns the latest insights by default, or insights for a specific date if provided.
Parameters
| Name | In | Required | Type | Description |
| account_id | path | yes | string | Account ID |
| date | query | no | string | Filter by date (YYYY-MM-DD format). If omitted, returns the latest available insights. |
Response Fields
| Field | Type | Description |
date | string | Date of the insights (YYYY/MM/DD format) (nullable) |
insights | array of objects | |
Responses
Example (curl)
curl \
-H "Authorization: Bearer $DRYRUN_API_KEY" \
"https://simple-api.dryrun.security/v1/accounts/{account_id}/insights"
Conventions
Conventions #
- IDs and scoping:
account_id is required for most endpoints. repository_id is required for repository-scoped endpoints.
- Response shape: Most list endpoints return a top-level
data array.
- Pagination: List endpoints accept
page_size (1-500) and page_token, and return a pagination object. To get the next page, pass pagination.next_page_token as page_token with the same filters. Without either parameter, most list endpoints return all matching records; the pull request scans list returns the 100 most recent scans.
- Deprecated endpoints: Endpoints marked Deprecated still work, but each one lists its replacement. Use the replacement for new integrations.
- Sorting: List endpoints accept
sort_by and sort_order (asc or desc). Each endpoint lists its default.
- Errors: If an item is not found, endpoints return
404 with {"error": "not found"}.
Help
Support #
If you have questions about authentication, account access, or expected responses, contact DryRun Security support and include the endpoint URL you called, the HTTP status code, and the request_id header (if present).