Programmatic creation and download of access review exports
The Access Review Export API enables you to programmatically create, monitor, and download exports of access review results in CSV or XLSX format. These endpoints provide the same export functionality available in the Veza UI, allowing you to automate report generation and integrate review data into external systems.
Create an export job with certification ID and format
Poll the status endpoint until FINISHED
Download the export file
Create Access Review Export
Create a new export job for an access review certification.
Request
POST /api/preview/awf/exports/access_review:create
Request Body
Field
Type
Required
Description
format
integer
Yes
Export format: 0 (CSV) or 6 (XLSX)
certification_id
string
Yes
The ID of the certification to export
previous_certification_id
string
No
Previous certification ID for diff exports
order_by
string
No
Sort order for results (e.g., "source.name ASC")
filter
string
No
SCIM filter for source/destination fields (e.g., "source.email eq \"[email protected]\"")
mutable_filter
string
No
SCIM filter for mutable fields (e.g., "decision eq \"RESULT_DECISION_REJECTED\"")
title
string
No
Title for XLSX exports (max 30 characters)
Supported Formats: Only CSV (format 0) and XLSX (format 6) are supported for access review exports.
Response
Examples
Create a CSV export:
Create a filtered CSV export (rejected rows only):
Create an XLSX diff export:
Get Access Review Export
Retrieve the status and metadata for an export job.
Request
GET /api/preview/awf/exports/access_review/{export_id}
Path Parameters
Parameter
Type
Required
Description
export_id
string
Yes
The export ID returned from the create request
Response
Export Status Values
Status
Description
CREATED
Export job is queued and waiting to start
PROCESSING
Export is being generated
FINISHED
Export completed successfully and is ready for download
FAILED
Export failed due to an error
CANCELLED
Export was cancelled before completion
EXPIRED
Export file has expired and is no longer available for download
Poll the export status endpoint periodically until the status is FINISHED before attempting to download. Large exports may take several minutes to complete.
Example
Download Access Review Export
Download the completed export file.
Request
GET /api/preview/awf/exports/access_review/{export_id}:download
Path Parameters
Parameter
Type
Required
Description
export_id
string
Yes
The export ID of a completed export
Response
The response returns the file contents with appropriate content-type headers: