---
title: "Get Investigation File"
method: GET
path: "/api/investigate/{investigation_id}/files/{file_index}"
---

# Get Investigation File

`GET /api/investigate/{investigation_id}/files/{file_index}`

## Request

- Base URL: `https://api.gethesperai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gethesperai.com/api/investigate/{investigation_id}/files/{file_index}`
- Auth: none declared

Stream a single attached file by index for in-app previews.

Range-aware so uploaded video/audio evidence plays inline (Media Forensics
preview). The stored content-type is corrected for A/V when it's missing or
a generic octet-stream, which would otherwise stop a <video> from decoding.

## Path parameters

- `investigation_id` string, required
- `file_index` integer, required

## Headers

- `X-Team-Id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gethesperai/apis/hesper-ai-claims-investigator.md) - [All operations](https://skmtc.dev/gethesperai/apis/hesper-ai-claims-investigator/llms.txt) - [OpenAPI document](https://skmtc.dev/gethesperai/apis/hesper-ai-claims-investigator/revisions/1a031ee6acf1?raw)
