Download media an agent delivered in the session [read]
Changed onAn image or file an agent posted in the session's transcript, which events carry as blob://assets/<asset_id>: the original bytes with their media type, as the web chat shows them. The asset must belong to the session's agent (or be the caller's own upload not yet adopted); anything else is 404.
get/sessions/{id}/assets/{asset_id}
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/sessions/{id}/assets/{asset_id}
- AuthHTTP bearer
Path parameters
idstring required
The session id
asset_idstring required
The id after blob://assets/
Response
The asset's bytes
Changes
- info
endpoint added
- info