---
title: "Resolve Chat Image Url"
method: POST
path: "/api/upload/chat-image-url"
tags: ["upload", "upload"]
---

# Resolve Chat Image Url

`POST /api/upload/chat-image-url`

Mint a short-lived signed URL for a private chat-image gs:// ref (stored in a
message's metadata.image_ref). Auth-gated and restricted to the chat-uploads
bucket so it can't sign arbitrary objects. Returns {url} or 410 if the
object has already expired (deleted by the 30-day lifecycle rule).

## Headers

- `authorization` string, nullable

## Request body

- BodyResolveChatImageUrlApiUploadChatImageUrlPost
  - `ref` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored.md) · [All operations](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fluentea/aurqa-language-learning-platform-refactored/revisions/78f314acd8bf/schema)
