ResoneraDocs
Knowledge base

Get a download link

GET
/knowledge-base/items/{kb_item_id}/download-url

Returns a signed link to download a stored file, valid for five minutes. Works for every file you can list, including files other members of your organization or their agents added. Request a new link for each download.

Requires the agents:read scope.

Authorization

apiKey
headerX-API-Key<token>

Your API key, from Settings → API access in the dashboard.

Path Parameters

kb_item_id*string
Formatuuid

Response Body

A temporary link.

application/json
  1. response
url?string
Formaturi
expires_in?integer

Seconds until the link stops working.

curl -X GET "https://example.com/knowledge-base/items/497f6eca-6276-4993-bfeb-53cbbbba6f08/download-url"
{  "url": "https://<project>.supabase.co/storage/v1/object/sign/.../Price%20list.pdf?token=...",  "expires_in": 300}