List Agents
This method allows you to list all agents that have been configured.
after
before
limit
offset
order
set_num_objects
name
index_id
knowledge_base_id
Successful Response
{
"object": "string",
"has_more": false,
"num_objects": 0,
"data": [
{
"name": "string",
"description": "string",
"instructions": "string",
"session_max_ttl": 0,
"completion_role": "string",
"index_id": "string",
"index_top_n": 0,
"index_similarity_cutoff": "number",
"index_reference_format": "string",
"index_reference_delimiter": "string",
"session_max_length": 0,
"session_summarization_strategy": "string",
"metadata": {
"metadata": "string"
},
"id": "string",
"object": "string",
"created_at": 0,
"model": "string",
"status": "string",
"status_errors": [
"string"
],
"chat_system_instruction_mode": "string"
}
],
"first_id": "string",
"last_id": "string"
}
Object type, which is always list
.
True, if the server may have more objects than returned in the response.
Total number of objects that match the request. Note that this field is populated only if requested by the user (see set_num_objects
request parameter).
List of agents.
ID of the first element in the list (if any)
ID of the last element in the list (if any)
An invalid ID was passed for paginating results.
Validation Error
"HTTPValidationError Object"
detail
curl -H 'Authorization: <value>' https://{api_host}/api/v1/compatibility/openai/v1/agents