Platform Endpoints
Start Run
Start a test run and capture the ‘before’ snapshot
POST
Start 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
Environment ID from
initEnvOptional test ID for evaluation against assertions
Optional test suite ID for grouping results
Example Request
Response
Unique run identifier
Run status:
"running"Snapshot ID for the ‘before’ state
Example Response
What Happens
- Snapshot captured: Current database state is recorded
- Replication started: WAL changes begin being captured
- Run created: Test run record created in database
After
startRun, all changes to the environment are tracked until diffRun or evaluateRun is called.Errors
| Error | Status | Description |
|---|---|---|
environment_not_found | 404 | Environment doesn’t exist or expired |
run_already_exists | 400 | A run is already active for this environment |
SDK Usage
Start Run