Run a violation reconciliation scan
curl --request POST \ --url https://example.com/api/v1/compliance/scan \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "clientIds": [ "example" ], "endDate": "example", "memberIds": [ "example" ], "startDate": "example" }'Synchronously reconciles the violation table for the scope: creates pending violations for entries that fail a rule with no open violation and auto-resolves violations whose condition cleared; fresh Asana judgment checks are enqueued as jobs, including entries with previously open Asana issues. When no dates are supplied a last-30-days window is applied; an explicit startDate must yield a range of at most 366 days or the request fails with 400 VALIDATION_ERROR. Requires the settings.manage permission.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”Scan summary.
object
Result of a reconciliation scan.
object
Per-violation-type breakdown of created/resolved counts.
object
object
Violations created for entries that failed a rule with no open violation.
Asana validation requests queued; remote checks complete asynchronously.
Open violations auto-resolved because the condition cleared.
Example generated
{ "data": { "byType": { "additionalProperty": { "created": 1, "resolved": 1 } }, "created": 1, "remoteQueued": 1, "resolved": 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