Test a proposed improvement before applying it
Re-runs the simulation with the proposed candidate prompt (simulated, billed like a run) so you can see the new score. When it finishes (poll GET /), the attempt becomes ‘ready’ with before/after scores. Optionally pass an edited prompt to test your own tweak of the candidate.
Authorizations
Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"
Path Parameters
Body
Required. The id of the optimization attempt from GET /{uuid} data.optimizations[].id.
Optional edited change set to test instead of the proposed one (same shape as data.optimizations[].changes: fields, guidelines_add, notes_add, training_add). Trim or reword items to test only what you want.
Response
Trial started (re-runs the sim with the change set; agent NOT modified). Poll GET /{uuid}