Enable a model
Changed onTransitions a model to STATE_ENABLED, making it available for agent variations in the workspace
Request
- Base URLhttps://api.cadenya.com
- URLhttps://api.cadenya.com/v1/workspaces/{workspaceId}/models/{id}:enable
- AuthHTTP bearer
Path parameters
Workspace ID.
Model ID
Request body
Example request
{
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"id": "model_01HXKD2E5NQM3T9AYWCFKJ4GED"
}Response
OK
Example response
{
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
},
"info": {
"aiProviderKey": {
"metadata": {
"accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
"workspaceId": "workspace_01HXKD2E5NQM3T9AYWCF133E3Q",
"profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
}
}
}
}Changes
- info
added the optional property
/////to the response with the status
- info
- breaking
added to the
///////////////response propertyoneOflist for the response status - breaking
added to the
///////////////response propertyoneOflist for the response status - breaking
the
///////////////response's property type changed fromobjectto no type for status - breaking
the
///////////////response's property type changed fromobjectto no type for status - warning
removed the optional property
////////////////from the response with the status - warning
removed the optional property
////////////////from the response with the status - warning
removed the optional property
////////////////from the response with the status - warning
removed the optional property
////////////////from the response with the status - warning
removed the optional property
////////////////from the response with the status - info
the response property
/////became required for the status - info
the response property
/////became required for the status - info
added discriminator to
///////////////response property for the response status - info
added discriminator to
///////////////response property for the response status
- breaking