Set AI model preference
Validates and sets the model for the workflow. Persistence is done client-side.
PUT
/api/workflows/{id}/modelPath parameters
idstringrequiredBody
modelIdstringrequiredRequest
curl
curl -X PUT https://platform.trickest.com/api/workflows/{id}/model \
-H "Authorization: Bearer $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
200Validated model id and config
successbooleanrequiredmodelIdstringrequiredmodelobjectrequired400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring