beta.agents
Create a agent that can be used within a conversation.
Changed onCreate 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
- Base URLhttps://api.mistral.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"completion_args": {
"response_format": {
"type": "text"
}
}
}Response
Successful Response
Example response
{
"completion_args": {
"response_format": {
"type": "text"
}
}
}Changes
- info
added the optional property
to the response with the status
- info
- breaking
removed
subschema #1from the/request propertyanyOflist - info
added to the
/request propertyanyOflist - info
added to the
/response propertyanyOflist for the response status - info
removed
subschema #1from the/response propertyanyOflist for the response status
- breaking