Conditions Create 2
POST handler with superadmin-only field protection.
Strips superadmin-only fields from non-superadmin requests before delegating to OrganizationInjectionMixin.post() for org injection.
Authentication
AuthorizationBearer
JWT access token or Respan API key
Path parameters
condition_id
Request
This endpoint expects an object.
name
Human-readable name for the condition
unique_organization_id
Organization identifier
description
Description of what this condition does
filter_set_id
Filter set identifier for log filtering
sampling_rate
Sampling rate for single log conditions (0.0 to 1.0)
time_step_minutes
Time window in minutes for aggregation type conditions
Response
id
name
Human-readable name for the condition
condition_policy
unique_organization_id
Organization identifier
updated_by
created_at
updated_at
description
Description of what this condition does
filter_set_id
Filter set identifier for log filtering
sampling_rate
Sampling rate for single log conditions (0.0 to 1.0)
time_step_minutes
Time window in minutes for aggregation type conditions