List Agent Response Files
GET
/
v1
/
agent
/
/
files
List Agent Response Files
curl --request GET \
--url https://api.perplexity.ai/v1/agent/{id}/files \
--header 'Authorization: Bearer <token>'{
"object": "<string>",
"data": [
{
"id": "<string>",
"object": "<string>",
"filename": "<string>",
"bytes": 123,
"created_at": 123
}
]
}{
"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_<...>)
Response
Section titled “Response”The list of files delivered from the response's sandbox.
object
string
required
Always list.
data
ResponseFile · object[]
required
Show child attributes
Was this page helpful?
⌘I