Description | : Gets a list of agents that were previously created. |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "ListAgents", "$responses": { "200": { "$properties": { "data": { "$properties": { "tool_resources": [ { "@added_6efcdc117dc2462d99fad601249017de": { "#name": "mcp", "Description": "Resources to be used by the `mcp` tool consisting of a server label and headers.", "Required": false, "Type": "array", "$items": { "Description": "A set of resources that are used by the `mcp` tool.", "Type": "object", "$properties": [ { "#name": "server_label", "Description": "The label for the MCP server", "Required": true, "Type": "string" }, { "#name": "headers", "Description": "The headers for the MCP server updates", "Required": true, "Type": "object" }, { "#name": "require_approval", "Description": "Does MCP server require approval", "Enum": [ [ "never", "" ], [ "always", "" ] ], "Required": false, "Type": "string" } ] } } } ] } } } } } }
⚼ 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:
enum
,
}
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
,
}