Skip to main content
POST
Evaluate Run

Request

Body Parameters

runId
string
required
Run ID from startRun

Example Request

Response

runId
string
Run identifier
status
string
Final status: "passed" or "failed"
passed
boolean
Whether all assertions passed
score
object
Score details
failures
array
List of failed assertions with details

Example Response (Passed)

Example Response (Failed)

What Happens

  1. After snapshot: Current database state is captured
  2. Diff computed: Before/after states compared
  3. Assertions evaluated: Test assertions checked against diff
  4. Results stored: Results saved for later retrieval
  5. Replication stopped: WAL capture ends
Use this when you have a test with assertions. For just getting the diff without assertions, use diffRun instead.

Errors

SDK Usage