beta.agents
Update an agent version.
Changed onSwitch the version of an agent.
patch/v1/agents/{agent_id}/version
Request
- Base URLhttps://api.mistral.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
agent_idstring required
Query parameters
versioninteger required
Response
Successful Response
Example response
{
"completion_args": {
"response_format": {
"type": "text"
}
}
}Changes
- info
added the optional property
to the response with the status
- info
- info
added to the
/response propertyanyOflist for the response status - info
removed
subschema #1from the/response propertyanyOflist for the response status
- info