updateAccountInferencePolicy

Update the models an account allows and denies and its default model, replacing each key sent; returns the policy. Requires account.settings.manage.

Arguments

  • inputUpdateAccountInferencePolicyInput!required

  • input.accountIdID!required

  • input.modelsModelRuleInput

  • input.defaultModelString

    Default model of projects that set none. It must be allowed by the policy. Null uses the built-in default.

Responses

mutation UpdateAccountInferencePolicy($input: UpdateAccountInferencePolicyInput!) {  updateAccountInferencePolicy(input: $input) {    accountId    models {      allowed      denied    }    defaultModel  }}
{  "data": {    "updateAccountInferencePolicy": {      "accountId": "string",      "models": {        "allowed": [          "string"        ],        "denied": [          "string"        ]      },      "defaultModel": "string"    }  }}

The AccountInferencePolicy! in data.updateAccountInferencePolicy.