v1

latestOpenAPI 3.0.32026-07-22238629559.2 KB
IssuesService

Export Issues

Asynchronously export issues matching filters to a file

post/api/agent/deployments/{deploymentId}/issues/export

Path parameters

deploymentIdstring required

Specifies the deployment to which the issues belong.

Request body

deploymentIdstring

Specifies the deployment to which the issues belong.

issueType'ISSUE_TYPE_SAST' | 'ISSUE_TYPE_SCA' | 'ISSUE_TYPE_SECRETS' | 'ISSUE_TYPE_RESEARCH' | 'ISSUE_TYPE_AI_SAST' enum

Deprecated: use issue_types instead. Filters issues to those with the specified type.

valuedescription
ISSUE_TYPE_SASTDetected by Code rules
ISSUE_TYPE_SCADetected by Supply Chain rules
ISSUE_TYPE_SECRETSDetected by Secrets rules
ISSUE_TYPE_RESEARCHDetected by research rules or scanners
ISSUE_TYPE_AI_SASTDetected by AI detection code scanning
sortBy'SORT_BY_SEVERITY' | 'SORT_BY_REF' | 'SORT_BY_REPO' | 'SORT_BY_RULE' | 'SORT_BY_RELEVANT_SINCE' | 'SORT_BY_STATE' enum

Specifies the field to sort the results by.

valuedescription
SORT_BY_SEVERITY
SORT_BY_REF
SORT_BY_REPO
SORT_BY_RULE
SORT_BY_RELEVANT_SINCE
SORT_BY_STATE
sortDirection'SORT_DIRECTION_ASC' | 'SORT_DIRECTION_DESC' enum

Specifies the direction to sort the results.

valuedescription
SORT_DIRECTION_ASC
SORT_DIRECTION_DESC
limitinteger

Sets the page size of the paginated list of issues.

cursorstring

Cursor used for pagination -- passing no value or an empty string effectively requests the first page.

issueTypesstring[]

Filters issues to those with any of the specified types (based on the product which produced these issues). When empty, falls back to the deprecated issue_type field for backward compatibility.

valuedescription
ISSUE_TYPE_SASTDetected by Code rules
ISSUE_TYPE_SCADetected by Supply Chain rules
ISSUE_TYPE_SECRETSDetected by Secrets rules
ISSUE_TYPE_RESEARCHDetected by research rules or scanners
ISSUE_TYPE_AI_SASTDetected by AI detection code scanning
includeRemediationboolean

When true, include AI remediation info (autofix and guidance) for each issue in the response. Defaults to false.

includeActivityHistoryboolean

When true, include activity history (status changes, triage events, etc.) for each issue in the response. Defaults to false.

includeIsArchivedboolean

When true, populate the is_archived field on each issue in the response. Defaults to false.

Response

Accepted

taskTokenJwtstring