Platform Endpoints
Evaluate Run
Complete a run and evaluate against test assertions
POST
Evaluate Run
Documentation Index
Fetch the complete documentation index at: https://agentdiff.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Request
Body Parameters
Run ID from
startRunExample Request
Response
Run identifier
Final status:
"passed" or "failed"Whether all assertions passed
Score details
List of failed assertions with details
Example Response (Passed)
Example Response (Failed)
What Happens
- After snapshot: Current database state is captured
- Diff computed: Before/after states compared
- Assertions evaluated: Test assertions checked against diff
- Results stored: Results saved for later retrieval
- 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
| Error | Status | Description |
|---|---|---|
run_not_found | 404 | Run doesn’t exist |
run_already_completed | 400 | Run already evaluated |
no_test_defined | 400 | No test associated with this run |
SDK Usage
Evaluate Run