Get vault model roles
Returns the model this vault runs for each role (main, fast, capable, background), the saved choice, and the models it may choose from.
GET
/api/vault/model-rolesQuery parameters
vaultIdstringrequiredRequest
curl
curl -X GET https://trickest.io/api/vault/model-roles \
-H "Authorization: Token $TRICKEST_TOKEN"Responses
200Each role's saved model, what it runs now, and the models the vault may choose
vaultIdstringrequiredrolesobject[]requiredroleenumrequiredOne of: main, fast, capable, background
modelIdstringrequiredallowedbooleanrequiredeffectiveModelIdstringrequiredmodelsobject[]required400Bad Request – validation error or malformed input
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
401Unauthorized – missing or expired token
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
403Forbidden – insufficient permissions
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
429Too Many Requests – rate limited
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
500Internal Server Error
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.