Skip to main content
POST
Create a reviewed grouping rule

Authorizations

x-chatobserver-key
string
header
required

A workspace API key. Data endpoints require a service-account key with the specified scopes.

Headers

Idempotency-Key
string

MCP requires this header. Reuse unchanged for retries; writes and receipts commit atomically.

Maximum string length: 255

Body

application/json
groupId
integer
required
conditionType
enum<string>
required
Available options:
contains_any,
contains_all,
regex
conditionPayload
object
required
name
string
required
Required string length: 1 - 150
previewFingerprint
string
required
Pattern: ^[a-f0-9]{64}$
applyOn
enum<string>[]
Required array length: 1 - 3 elements
Available options:
prompt_create,
prompt_update,
backfill
status
enum<string>
default:draft
Available options:
draft,
active,
paused
priority
integer
Required range: 0 <= x <= 10000

Response

Successful operation.

data
object
required