Skip to main content
POST
Reconcile claimed GitHub changes

Authorizations

Authorization
string
header
required

Your project's secret key (pk_…, without the pub segment). Server-side only — never ship it to a browser. Get it from Settings → Projects in the dashboard.

Path Parameters

refId
string
required
Required string length: 1 - 128

Body

application/json
leaseToken
string
required
Required string length: 1 - 256
sourceGeneration
integer
required
Required range: 0 <= x <= 9007199254740991
fromSha
string | null
required
Pattern: ^[a-f0-9]{40}$
toSha
string
required
Pattern: ^[a-f0-9]{40}$
rationale
string
required
Required string length: 1 - 4000
ops
object[]
required
Required array length: 1 - 50 elements

Response

The successful source-work result.

ok
any
required
campaigns
object[]
required
reconciledSha
string
required
Pattern: ^[a-f0-9]{40}$
replayed
boolean
required