> ## Documentation Index
> Fetch the complete documentation index at: https://developers.argosidentity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /analyses/:analysisId/report

> Download analysis results as a PDF report. Only available when analysis status is completed.

## Endpoint

```
GET /v1/analyses/{analysisId}/report
```

## Request

```bash theme={null}
curl -X GET "http://client-omni-api.argosidentity.com/v1/analyses/{analysisId}/report?locale=en&includeRawData=false" \
  -H "x-api-key: your-api-key-here" \
  -o report.pdf
```

## Query Parameters

| Parameter        | Type      | Required | Default | Description                              |
| ---------------- | --------- | -------- | ------- | ---------------------------------------- |
| `locale`         | `string`  |          | `en`    | Report language: `en`, `ko`              |
| `includeRawData` | `boolean` |          | `false` | Include raw extracted data in the report |

***

## Response (200 OK)

The response is a binary PDF file with the following headers:

| Header                | Value                                             |
| --------------------- | ------------------------------------------------- |
| `Content-Type`        | `application/pdf`                                 |
| `Content-Disposition` | `attachment; filename="analysis_{id}_report.pdf"` |

<Note>
  The response body is binary PDF data. Use the `-o` flag with `curl` (or equivalent in your HTTP client) to save the file directly to disk.
</Note>

<Warning>
  Reports are only available when the analysis status is `completed`. Requesting a report for an analysis in any other status will return a `400` error.
</Warning>

***

## Error Codes

| Status | Code                   | Description                               |
| ------ | ---------------------- | ----------------------------------------- |
| 400    | `REPORT_NOT_AVAILABLE` | The analysis is not in `completed` status |
| 404    | `ANALYSIS_NOT_FOUND`   | The specified analysis was not found      |
