Get vault model roles

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-roles
Query parameters
vaultIdstringrequired

Request

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
vaultIdstringrequired
rolesobject[]required

roleenumrequired

One of: main, fast, capable, background

modelIdstringrequired
allowedbooleanrequired
effectiveModelIdstringrequired
modelsobject[]required
400Bad Request – validation error or malformed input
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

401Unauthorized – missing or expired token
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

403Forbidden – insufficient permissions
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

429Too Many Requests – rate limited
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

500Internal Server Error
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.