---
title: "Presign"
method: POST
path: "/api/v1/internal/media-s3/presign"
tags: ["mission media storage"]
---

# Presign

`POST /api/v1/internal/media-s3/presign`

## Request

- Base URL: `https://api.brumby.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brumby.com/api/v1/internal/media-s3/presign`
- Auth: HTTP bearer

A POST policy scoped to one run's prefix. ``starts-with`` is the whole trick.

## Request body

- PresignRequest
  - `key_prefix` string, required
  - `expires_in_seconds` integer, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/brumby/apis/brumby-platform-api.md) - [All operations](https://skmtc.dev/brumby/apis/brumby-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/brumby/apis/brumby-platform-api/revisions/fe185e20813e?raw)
