Skip to main content
POST
Add AI models to the restricted list

Authorizations

Authorization
string
header
required

Path Parameters

projectKey
string
required

The project key

Body

application/json

List of AI model keys to add to the restricted list.

keys
string[]
required

Model config keys, not provider model IDs. Get keys from the list AI model configs endpoint.

Example:

Response

Successful response

successes
string[]
required

Model config keys that were added to the restricted list

Example:
errors
object[]
required

Model config keys that were not added, with the reason for each key