Skip to main content
Preview record edits against compiled Tool contracts without changing running state

Authorizations

Authorization
string
header
required

Opaque control credential

Path Parameters

projectId
string
required
Pattern: ^prj_[0-9a-z]{12,32}$
sourceDraftId
string
required
Pattern: ^draft_[0-9a-z]{12,32}$

Body

application/json
expectedVersion
integer
required
Required range: 0 <= x <= 9007199254740991
expectedSourceDigest
string
required
Pattern: ^sha256:[0-9a-f]{64}$
expectedBuildHash
string
required
Pattern: ^sha256:[0-9a-f]{64}$
collection
object
required
records
object[]
required
Maximum array length: 500

Response

Canonical data preview

schemaVersion
enum<number>
required
Available options:
1
source
object
required
buildHash
string
required
Pattern: ^sha256:[0-9a-f]{64}$
collection
object
required
status
enum<string>
required
Available options:
valid,
invalid,
unsupported
issues
object[]
required
Maximum array length: 100
file
object | null
required