Apply deterministic fixes to filtered violations
curl --request POST \ --url 'https://example.com/api/v1/compliance/violations/fix?severity=all&resolved=pending&groupBy=none&sort=date&direction=asc&page=1&pageSize=10' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "type": "missing_notes", "violationId": "example" }'Synchronously fixes one violationId, one type, or all supported pending violations in the filtered scope. Returns actual fixed/skipped counts and errors; hasMore indicates that the bounded batch left additional rows. Pagination and sorting do not restrict bulk fixes. Requires settings.manage.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Period start (YYYY-MM-DD); defaults to the report’s last 30 days.
Period start (YYYY-MM-DD); defaults to the report’s last 30 days.
Period end (YYYY-MM-DD), inclusive.
Period end (YYYY-MM-DD), inclusive.
Comma-separated canonical violation types.
Comma-separated canonical violation types.
Filter by severity.
Filter by severity.
Resolution state; defaults to open violations.
Resolution state; defaults to open violations.
Comma-separated member IDs.
Comma-separated member IDs.
Comma-separated company IDs.
Comma-separated company IDs.
Search violation rows.
Search violation rows.
Group ordering; rows remain paginated.
Group ordering; rows remain paginated.
Sort field within groups.
Sort field within groups.
Sort direction.
Sort direction.
One-based page.
One-based page.
Rows per page: 10, 25, 50, or 100.
Rows per page: 10, 25, 50, or 100.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Fix only this supported violation type.
Fix one violation by ID within the selected scope.
Responses
Section titled “Responses”Fix outcomes, including skipped rows and errors.
object
object
Example generated
{ "data": { "errors": [ "example" ], "fixed": 1, "hasMore": true, "skipped": 1 }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC