---
title: "Run the regression gate now"
method: POST
path: "/api/flows/{id}/test"
tags: ["Flows"]
---

# Run the regression gate now

`POST /api/flows/{id}/test`

## Request

- Base URL: `https://api.wordis-bond.com`
- URL: `https://api.wordis-bond.com/api/flows/{id}/test`
- Auth: HTTP bearer

Compile the current flow version into a synthetic-caller scenario, run it against the flow's target, and compare the result to the previous version's baseline. A pass→fail or a score drop past the threshold is a regression that GATES the change (gate.gated=false). Reuses the same judge-version-aware regression logic as the trends endpoint.

## Path parameters

- `id` string, uuid, required

## Response `201`

Gate verdict

- object
  - `data` object, required
  - `error` union, required
    - object
    - string

## Other responses

- `401`: Missing, invalid, or revoked credentials.
- `404`: The resource does not exist or is not owned by the tenant.
- `422`: The request body failed validation.
- `429`: The hosted-demo limits of POST /api/tests/demo, shared with it: DEMO_LIMIT (3 runs per rolling 24 h, 20 with a verified email; flow tests and demo runs count together) or the per-minute RATE_LIMITED.
- `503`: DEMO_PAUSED: the operator has paused the hosted demo. `Retry-After` is in seconds.

---

[API](https://skmtc.dev/wordis-bond/apis/word-is-bond-voice-agent-testing-api.md) · [All operations](https://skmtc.dev/wordis-bond/apis/word-is-bond-voice-agent-testing-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wordis-bond/apis/word-is-bond-voice-agent-testing-api/revisions/66c2d5480d84?raw)
