Audits
Create an audit schedule
Creates a schedule that launches audits of a prompt set on a cadence and returns it. Send an Idempotency-Key header so a retry within 24 hours never runs it twice.
POST/v1/projects/{project_id}/audit-schedules
Needs the schedules:write scope
Creates a schedule that launches audits of a prompt set on a cadence and returns it. Send an Idempotency-Key header so a retry within 24 hours never runs it twice.
Path parameters
| Parameter |
|---|
project_id |
Headers
| Parameter |
|---|
Idempotency-Key |
Request body
| Parameter | Description |
|---|---|
prompt_set_id | |
audit_scope | One of brandcommerceDefault"brand" |
cadence | |
interval_minutes | Default null |
timezone | |
engines | |
market_ids | Default [null] |
repetitions | Default null |
benchmark_mode | Default null |
enabled | Default true |
next_run_at | Default null |
Response 201: AuditSchedule