---
title: "POST /api/risk-analysis/exports/assessments"
method: POST
path: "/api/risk-analysis/exports/assessments"
tags: ["Risk Analysis"]
---

# POST /api/risk-analysis/exports/assessments

`POST /api/risk-analysis/exports/assessments`

Record a risk assessment export request and enqueue the background export job.

## Request body

- object
  - `assessmentBlueprintId` string, required
  - `companyIds` string[]

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required — True when the request succeeded.
  - `data` object, required
    - `id` string, required
    - `blueprintId` string, required
    - `status` 'IN_PROGRESS' | 'COMPLETED' | 'CANCELED', required
    - `createdAt` string, required
    - `createdByUserId` string, required
    - `createdByCompanyId` string, required
    - `fileId` string, nullable, required
    - `companyIds` string[]

## Other responses

- `201` — Default Response

## Changes

> 23 revisions in range; 1 not diffed.

- **2026-08-31** `97e51f27dc77` — 2 breaking, 2 info
  - the response property `data/fileId` became nullable for the status `200`
  - the response property `data/fileId` became nullable for the status `201`
  - response property `data/fileId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `data/fileId` list-of-types was narrowed by removing types `null` from media type `application/json` of response `201`

[Change history](https://skmtc.dev/retraced/apis/api-reference/changes/api/risk-analysis/exports/assessments/post.md)

---

[API](https://skmtc.dev/retraced/apis/api-reference.md) · [All operations](https://skmtc.dev/retraced/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/retraced/api-reference/revisions/fde251beb0ca/schema)
