---
title: "Get Attachment Video"
method: GET
path: "/chat/messages/{message_id}/attachment/video"
tags: ["chat"]
---

# Get Attachment Video

`GET /chat/messages/{message_id}/attachment/video`

## Request

- Base URL: `https://api.projectindi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.projectindi.com/chat/messages/{message_id}/attachment/video`
- Auth: none declared

Return a short-lived signed URL for a video attachment on a chat message.

Companion to the thumbnail endpoint, which returns the poster image. This
returns the video file itself so the frontend can stream it in a modal
player.

Path scope validation mirrors the thumbnail route: we fetch the video's
document_id, look up the document's child_id via the user-RLS'd client,
and reject any `file_url` that falls outside `private/{child_id}/source/`.

Authentication: JWT required. RLS: user must have access to the message.

## Path parameters

- `message_id` string, required

## Query parameters

- `index` integer: Attachment index

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles.md) - [All operations](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/llms.txt) - [OpenAPI document](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/revisions/25a7813e21fd?raw)
