upload
upload

Resolve 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).

post/api/upload/chat-image-url

Headers

authorizationstring nullable

Request body

refstring required

Response

Successful Response

{"stackTrail":"paths:/api/upload/chat-image-url:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.