Models
Swap models on agent variations
Reassigns agent variations from one model to another in bulk. Runs asynchronously and returns immediately.
POST
CLI
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Workspace ID.
Example:
"workspace_01HXKD2E5NQM3T9AYWCF133E3Q"
Body
application/json
Swap model on variations request. Each ModelSwap reassigns every agent variation on current_model_id to next_model_id. The work runs asynchronously.
The swaps to perform.
Response
OK
Swap model on variations response. Empty: the work runs asynchronously, so no counts are returned (a large data set would make the call slow).