---
title: "Trigger a verifier backtest for a context lineage"
method: POST
path: "/experimental/orgs/{orgId}/verifier-backtests"
tags: ["Orgs", "Context"]
---

# Trigger a verifier backtest for a context lineage

`POST /experimental/orgs/{orgId}/verifier-backtests`

Starts a backtest for the lineage’s current version: every verifier on that version is evaluated against the source repo’s recent commit history, producing a pass/fail/na result per commit per verifier. One backtest covers all of the version’s verifiers.

An optional `commitLimit` controls how many commits are examined, up to a server maximum of 2000. Omitting it runs at the default 200-commit limit.

Responds 202 with the backtest’s ids when started. Responds 409 with the in-progress backtest when one is already running for the same version.

## Path parameters

- `orgId` string, uuid, required

## Headers

- `Authorization` string

## Request body

- object
  - `lineageId` string, uuid, required
  - `commitLimit` integer — Number of commits to examine. Defaults to 200 when omitted.
  - `windowMode` union — How to place the commit window: "centred-on-arrival" splits it around the content’s arrival date, "recent-from-head" takes the most recent commits from head. Omit to infer from whether the content has an arrival date.
    - 'centred-on-arrival'
    - 'recent-from-head'

## Response `202`

Default Response

- object
  - `data` object, required
    - `runId` string, uuid, required
    - `workflowId` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Default Response
- `500` — Internal Server Error

## Changes

- **2026-09-15** `d50a02b79ad3` — 2 info
  - added the optional property `error/code` to the response with the `403` status
  - added the optional property `error/url` to the response with the `403` status
- **2026-09-04** `62bb86f8aa90` — 1 info
  - added the new optional request property `windowMode`
- **2026-09-03** `538ff8b269b7` — 1 info
  - added the new optional request property `commitLimit`
- **2026-09-02** `d18817d8161c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/tessl/apis/tessl-api/changes/experimental/orgs/:orgId/verifier-backtests/post.md)

---

[API](https://skmtc.dev/tessl/apis/tessl-api.md) · [All operations](https://skmtc.dev/tessl/apis/tessl-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tessl/apis/tessl-api/revisions/288d28ba107c?raw)
