beta.agents
List all versions of an agent.
Changed onRetrieve all versions for a specific agent with full agent context. Supports pagination.
get/v1/agents/{agent_id}/versions
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
pageinteger
Page number (0-indexed)
page_sizeinteger
Number of versions per page
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