associateAccountModels

Adds models from the supported model catalog to your account's model list. The operation ignores models that are already on the list. You can specify up to 25 models in a request. If a model isn't in the supported model catalog, the operation returns an error. If the request would exceed the maximum number of models on your account's model list, the operation returns ServiceQuotaExceededException.

Samples

// The following example adds three models to the account s model list.
val resp = workSpacesClient.associateAccountModels {
    modelIds = listOf<String>(
        "anthropic.claude-sonnet-5-5",
        "anthropic.claude-opus-5-5",
        "anthropic.claude-haiku-5-5"
    )
}