---
title: "Download the stored Risk Inform response as XML"
method: GET
path: "/api/admin/clear/risk-inform/raw"
tags: ["Clear"]
---

# Download the stored Risk Inform response as XML

`GET /api/admin/clear/risk-inform/raw`

## Request

- Base URL: `https://app.herondata.io`
- URL: `https://app.herondata.io/api/admin/clear/risk-inform/raw`
- Auth: API key in header `x-api-key`

Returns the vendor's XML for the stored result, unaltered.

## Query parameters

- `end_user_heron_id` string, required
- `subject_type` 'business' | 'person', required
- `entity_id` string, required
- `definition_name` string, required
- `definition_version` string

## Response `200`

OK

- object
  - `file_b64` string, required: The stored XML, base64-encoded
  - `filename` string, required: Suggested download filename
  - `mime_type` string, required: Media type of the encoded bytes

## Other responses

- `404`: No such end user, or no result stored for that entity and definition

## Changes

- **2026-11-03** `bd8008e49534`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/herondata/apis/heron-data-api/changes/api/admin/clear/risk-inform/raw/get.md)

---

[API](https://skmtc.dev/herondata/apis/heron-data-api.md) - [All operations](https://skmtc.dev/herondata/apis/heron-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/herondata/apis/heron-data-api/revisions/1ec936e17fef?raw)
