Delete AI Config variation
Delete a specific variation of an AI Config by config key and variation key.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/v2/projects/string/ai-configs/string/variations/string"Update AI Config variation PATCH
Edit an existing variation of an AI Config. This creates a new version of the variation. The request body must be a JSON object of the fields to update. The values you include replace the existing values for the fields. If the variation is in use in a project environment where approval settings require review for this AI Config, this endpoint returns 403 and the change must be submitted through an approval request. Here's an example: ``` { "messages": [ { "role": "system", "content": "The new message" } ] } ```
Get AI Config quick stats GET
Retrieve aggregate quick stats for AI Configs in a project.