| Description | : Gets a list of agents that were previously created. |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "ListAgents",
"$responses": {
"200": {
"$properties": {
"data": {
"$properties": {
"tool_resources": [
{
"mcp": {
"$properties": {
"require_approval": {
"new": [],
"old": [
[
"never",
""
],
[
"always",
""
]
]
}
}
}
}
]
}
}
}
}
}
}
⚼ Request
GET:
/assistants
{
api-version:
string
,
limit:
integer
,
order:
string
,
after:
string
,
before:
string
,
}
⚐ Response (200)
{
data:
[
]
,
{
,
id:
string
,
object:
enum
,
created_at:
integer
,
name:
string
,
description:
string
,
model:
string
,
instructions:
string
,
tools:
[
]
,
{
,
type:
string
,
}
tool_resources:
{
,
code_interpreter:
{
,
file_ids:
[
,
string
,
]
data_sources:
}
[
]
,
{
,
uri:
string
,
type:
enum
,
}
file_search:
{
,
vector_store_ids:
[
,
string
,
]
vector_stores:
}
[
]
,
{
,
name:
string
,
configuration:
}
{
,
data_sources:
}
[
]
,
{
,
uri:
string
,
type:
enum
,
}
azure_ai_search:
{
,
indexes:
}
[
]
,
{
,
index_connection_id:
string
,
index_name:
string
,
query_type:
enum
,
top_k:
integer
,
filter:
string
,
index_asset_id:
string
,
}
mcp:
}
[
]
,
{
,
server_label:
string
,
headers:
object
,
require_approval:
string
,
}
temperature:
number
,
top_p:
number
,
response_format:
string
,
metadata:
object
,
}
last_id:
string
,
has_more:
boolean
,
}
⚐ Response (default)
{
error:
}
{
,
message:
string
,
type:
string
,
param:
string
,
code:
string
,
}