Skip to main content
POST
Prepare a Run

Authorizations

Authorization
string
header
required

A Microsoft Entra token for your own service principal or managed identity, not a signed-in person. Request the .default scope and assign it the GV.APIReader, GV.APIContributor, or GV.APIOwner role.

Body

application/json
id
string<uuid>
required

A new UUID you choose for the Run. Repeating the request with the same ID returns the same Run.

name
string | null

With source, the name of a Table Pair this call creates. Omit it to use <source> to <target>, each Table's name followed by where and its filters when it has any, or <source> to <target> without the filters when that name is longer than 255 characters.

Required string length: 1 - 255
Pattern: ^[^\x00-\x1f\x7f]+$
pair_id
string<uuid> | null

The Table Pair to run. It needs at least one Test. Give this, or the pair itself as source and target.

source
InlineLakehouseTable · object

In place of pair_id, the source Table as POST /api/v1/fabric/pairs takes it. The Run uses the active Table Pair that compares these Tables with the same filters, in any order, and creates it when none does and test_set_id is given. The prepared Run's pair_id names that pair.

source_filters
Filter · object[] | null

With source, the filters on source rows. Omit for none.

Maximum array length: 32
target
InlineLakehouseTable · object

With source, the target Table.

target_filters
Filter · object[] | null

With source, the filters on target rows. Omit for none.

Maximum array length: 32
test_set_id
string<uuid> | null

With source, the test set whose join keys and Tests a Table Pair that this call creates uses. A Table Pair that already compares these Tables keeps the Tests it has, and this is not used.

Response

Successful Response

alerted_at
string<date-time> | null
required

When an alert email named this Run because its Table Pair stopped passing, or null.

charge
enum<string>
required

What the Run was granted when it was prepared: free uses one of the Organization's free Runs, unmetered runs under a plan in effect, and metered is for a plan with Marketplace meters. It is charged only if every Test returns a verdict.

Available options:
free,
metered,
unmetered
config
RunConfig · object
required

The Table Pair and Tests this Run froze when it was prepared.

created_at
string<date-time>
required
error_code
enum<string> | null
required

Why the Run has no Result. no_report means nothing recorded a Result or failure within 24 hours of preparing the Run; a Result recorded later still replaces it.

Available options:
submission_unknown,
submission_rejected,
no_report,
fabric_job_failed,
fabric_job_cancelled,
invalid_arguments,
invalid_config,
run_reservation_failed,
artifact_write_failed,
summary_too_large,
execution_failed
id
string<uuid>
required
job_id
string<uuid> | null
required

The Fabric job instance that runs it, once recorded.

pair_id
string<uuid>
required

The Table Pair this Run validates.

payload_base64
string
required

Pass unchanged as the validation pipeline's payload_base64 parameter. Only POST /api/v1/fabric/runs returns it.

result
RunResult · object | null
required

The verdict and each Test's Result, once validation reports them.

settings
FabricSettings · object
required

The Environment the Run was prepared for.

status
enum<string>
required

prepared or submitted while the Run is on its way; passed, failed, or error once it ends.

Available options:
prepared,
submitted,
passed,
failed,
error
updated_at
string<date-time>
required
provenance
string
default:user_reported

Reported by an authorized caller; the SaaS does not attest the Fabric computation.

Allowed value: "user_reported"
report
RunReportCredential · object | null

Pass token unchanged as the validation pipeline's report_token parameter. Returned only by the call that created the Run; a repeat with the same Run ID omits it. POST /api/v1/fabric/runs/{run_id}:regenerate-report-token issues a new one until the Run's job starts.