Download Agent Response File
GET
/
v1
/
agent
/
/
files
/
/
content
Download Agent Response File
curl --request GET \
--url https://api.perplexity.ai/v1/agent/{id}/files/{file_id}/content \
--header 'Authorization: Bearer <token>'"<string>"{
"error": {
"message": "<string>",
"code": "<string>",
"type": "<string>"
}
}Authorizations
Section titled “Authorizations”Authorization
string
header
required
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Section titled “Path Parameters”id
string
required
Response id (resp_<...>)
file_id
string
required
File id from the file list endpoint
Response
Section titled “Response”The raw file bytes.
The response is of type file.
Was this page helpful?
⌘I