AI Integrations
Update an AI integration
Update an AI integration's configuration. At least one field must be provided. Omitted fields are left unchanged.
Payload Requirements
- At least one of the updatable fields must be provided.
- name, if provided, must be unique within the account.
- api_key can be set to null to remove the existing key, or omitted to keep it unchanged.
- scopings, if provided, replaces all existing scoping rules.
- provider_metadata, if provided, replaces existing metadata. Set to null to remove.
Valid example
{
"name": "Updated Integration",
"model_names": ["gpt-4o", "gpt-4o-mini"]
}
Invalid example (empty body)
{}
<Warning>This endpoint is in alpha, read more here.</Warning>
patch/v2/ai-integrations/{integration_id}
Path parameters
integration_idstring required
A universally unique identifier (base64-encoded opaque string).
Example:RW50aXR5OjEyMzQ1
The unique AI integration identifier (base64)
Request body
Response
An AI integration object