Platform Endpoints
Diff Run
Complete a run and get the computed diff
POST
Diff 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
Run status:
"completed"Computed diff with
inserts, updates, and deletesExample Response
Diff Structure
Inserts
New records created during the run:Updates
Modified records with before/after values:Deletes
Records removed during the run:What Happens
- After snapshot: Current database state is captured
- Diff computed: Before/after states compared
- Results returned: Full diff returned immediately
- Replication stopped: WAL capture ends
Use this when you want the raw diff without running assertions. For evaluation with assertions, use
evaluateRun instead.Errors
| Error | Status | Description |
|---|---|---|
run_not_found | 404 | Run doesn’t exist |
run_already_completed | 400 | Run already completed |
SDK Usage
Diff Run