Openapi
Count the rows an import left with a missing link, a duplicate, an orphan or an unbalanced ledger entry, and return the imported and status counts.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidReturns the integrity checks, the imported counts and the status distributions.
application/jsonchecks*array<>imported*statuses*curl -X GET 'https://app.localhost/api/v1/organizations/123/imports/integrity'{ "checks": [ { "count": 0, "name": "string", "severity": "error" } ], "imported": { "property1": 0, "property2": 0 }, "statuses": { "property1": { "property1": 0, "property2": 0 }, "property2": { "property1": 0, "property2": 0 } }}