Skip to main content
PATCH
Update Automation
Updates specific fields of an existing automation. Use this to enable/disable automations, change sampling rates, or update evaluator lists.

Authentication

All endpoints require API key authentication:
Note: Use your API Key (not JWT token) for all requests. You can find your API keys in the Keywords AI platform under Settings > API Keys.

Path Parameters

Request Body

All fields are optional - only include the fields you want to update.

Examples

Enable/Disable Automation

Update Sampling Rate

Update Evaluator List

Update Multiple Fields

Reduce Sampling Rate for Cost Savings

Response

Status: 200 OK

Response Fields

Update Behavior

  • Partial Updates: Only the fields you provide will be updated
  • Configuration Merging: The configuration object is merged with existing values
  • Evaluator List Replacement: Providing evaluator_ids replaces the entire list (not appended)
  • Validation: All validation rules from the create endpoint apply to updates

Error Responses

400 Bad Request - Invalid Evaluator

400 Bad Request - Invalid Sampling Rate

400 Bad Request - Empty Evaluator List

401 Unauthorized

404 Not Found