---
title: "Debug Presign"
method: POST
path: "/api/admin/prompt-debug/prompts/{key}/debug/presign"
tags: ["admin-prompt-debug"]
---

# Debug Presign

`POST /api/admin/prompt-debug/prompts/{key}/debug/presign`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/admin/prompt-debug/prompts/{key}/debug/presign`
- Auth: HTTP bearer

Mint a presigned PUT for a video_ref debug input (template video or
reference image). The admin PUTs the file straight to a short-lived temp
key, then passes the key in the debug run — keeps big clips out of the JSON
request body.

## Path parameters

- `key` string, required

## Request body

- DebugUploadPresignRequest
  - `role` string, required
  - `content_type` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
