---
title: "Api Conditions Partial Update"
method: PATCH
path: "/api/conditions/"
tags: ["workflows"]
---

# Api Conditions Partial Update

`PATCH /api/conditions/`

PATCH handler with superadmin lock and field protection.

Checks:
1. Object lock (is_managed=True -> non-superadmins can't modify)
2. Field protection (non-superadmins can't modify specific fields)

## Headers

- `Authorization` string, required

## Request body

- PatchedAutomationConditionListRequest — Serializer for listing automation conditions with summarized information
  - `name` string — Human-readable name for the condition
  - `unique_organization_id` string — Organization identifier
  - `time_step_minutes` integer, nullable — Time window in minutes for aggregation type conditions

## Response `200`

- AutomationConditionList — Serializer for listing automation conditions with summarized information
  - `id` string, required
  - `name` string, required — Human-readable name for the condition
  - `unique_organization_id` string, required — Organization identifier
  - `condition_policy` object, required
  - `time_step_minutes` integer, nullable — Time window in minutes for aggregation type conditions
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

---

[API](https://skmtc.net/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.net/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keywordsai/api-reference/versions/c26d550029f8/schema)
