---
title: "Mint a fresh access URL for a chat attachment"
method: GET
path: "/api/v1/assets/{asset_id}/url"
tags: ["assets", "assets"]
---

# Mint a fresh access URL for a chat attachment

`GET /api/v1/assets/{asset_id}/url`

## Request

- Base URL: `https://api.gnosari.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gnosari.com/api/v1/assets/{asset_id}/url`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-AUTH-TOKEN`

Mint a fresh signed/public URL after re-checking ownership (N2).

## Path parameters

- `asset_id` string, uuid, required

## Query parameters

- `session_id` string, nullable: Bound session id — proves ownership for anonymous callers.

## Headers

- `X-Access-Password` string, nullable

## Response `200`

Successful Response

- AssetUrlResponse: Response for ``GET /assets/{id}/url`` — a freshly minted access URL. ``url`` is a short-TTL V4 signed URL for private surfaces (chat attachments) or a public URL for public surfaces. Minted per call, never persisted (D2).
  - `url` string, required: Fresh short-TTL access URL for the asset.

## Other responses

- `422`: Validation Error

---

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