v2
latestOpenAPI 3.1.02026-07-262937191.0 MBbeta.agents
Create a agent that can be used within a conversation.
Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.
post/v1/agents
Request body
Example request
{
"completion_args": {
"response_format": {
"type": "text"
}
}
}Response
Successful Response
Example response
{
"completion_args": {
"response_format": {
"type": "text"
}
}
}