Listar arquivos de assistente (v1)
GET
https://api.openai.com/v1/assistants/asst_abc123/files
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.openai.com/v1/assistants/asst_abc123/files' \
--header 'Authorization: Bearer $OPENAI_API_KEY' \
--header 'OpenAI-Beta: assistants=v1' \
--header 'Content-Type: application/json'
Response Response Example
{
"object": "string",
"data": [
{
"id": "string",
"object": "string",
"created_at": 0,
"assistant_id": "string"
}
],
"first_id": "string",
"last_id": "string",
"has_more": true
}
Request
Header Params
Authorization
string
optional
Example:
Bearer $OPENAI_API_KEY
Content-Type
string
optional
Example:
application/json
OpenAI-Beta
string
optional
Example:
assistants=v1
Responses
Modified at 2025-01-26 07:36:55