cURL
curl --request GET \ --url https://chat.sambanova.ai/api/agent/files/{file_id} \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Download files (artifacts) generated by agent APIs using Bearer token authentication. Files are scoped to users, and the storage layer verifies ownership before returning data.
SambaNova API Key
file id to get artifact
Successful Response