Skip to main content
POST
Preview a 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
applyOn
enum<string>[]
Required array length: 1 - 3 elements
Available options:
prompt_create,
prompt_update,
backfill

Response

Successful operation.

data
object
required