Skip to main content
POST

Authorizations

Authorization
string
header
required

User-principal OAuth 2.0 Bearer authentication. Send a user-scoped Auth0 access token (audience = the app API audience) as Authorization: Bearer <jwt>. The request resolves to the user's identity and is authorized by their Role on the {companyId} in the path — the same role-based permissions the web app enforces. This is the path the MCP connector uses to act on a user's behalf; endpoints that accept it list both BearerAuth and ApiKeyAuth.

Path Parameters

companyId
string<uuid>
required

Company identifier

Body

application/json
kind
enum<string>
required
Available options:
segmentHashes
dryRun
boolean
default:true
limit
integer
default:100
Required range: 1 <= x <= 1000
cursor
object

Response

Kind-specific repair report. Continue bounded scans until nextCursor is null.

kind
enum<string>
required
Available options:
segmentHashes
scanned
integer
required
Required range: x >= 0
mismatched
integer
required
Required range: x >= 0
repaired
integer
required
Required range: x >= 0
remaining
integer
required
Required range: x >= 0
nextCursor
object | null
required
byCompany
object[]
required