Assistentes de lista (v1)
GET
https://api.openai.com/v1/assistants
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.openai.com/v1/assistants?order=desc&limit=20' \
--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,
"name": "string",
"description": null,
"model": "string",
"instructions": "string",
"tools": [
"string"
],
"file_ids": [
"string"
],
"metadata": {},
"top_p": 0,
"temperature": 0,
"response_format": "string"
}
],
"first_id": "string",
"last_id": "string",
"has_more": true
}
Request
Query Params
order
string
optional
Example:
desc
limit
string
optional
Example:
20
Header Params
Content-Type
string
optional
Example:
application/json
Authorization
string
optional
Example:
Bearer $OPENAI_API_KEY
OpenAI-Beta
string
optional
Example:
assistants=v1
Responses
Modified at 2025-01-26 07:13:15