---
title: "Measure the draft against items whose outcome is known"
method: POST
path: "/v1/processes/{id}/measure"
tags: ["Processes"]
---

# Measure the draft against items whose outcome is known

`POST /v1/processes/{id}/measure`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/processes/{id}/measure`
- Auth: HTTP bearer

Runs the draft's test copy over the items (nothing is sent, called or delivered). No step reads the known outcome or anything else known only after an item arrived; those values are listed as `withheld`. Answers at once; read the measurement for progress and the result. Needs process_run, process_view and the write scope.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `items` object, required: `{ documentIds }`, or `{ index, filter?: { field, from?, to?, equals? }, limit? }` (the rows of a table).
  - `predictionFieldId` string: The field that holds what the process decides (or `predictionField`, its name).
  - `predictionField` string
  - `outcome` object, required: `{ index, field, itemField? }` (a field of a table), or `{ byItem: { <item>: <outcome> } }`.
  - `allowWebReads` boolean

## Response `201`

`{ measurementId, status: running, total, endsAt }`.

## Other responses

- `403`: The key has no person, the person lacks the Process Plane permission, or the key lacks the scope.
- `404`: The requested resource was not found.
- `422`: The request cannot be measured; the message says why in one sentence.

## Changes

- **2026-12-04** `00348acf7135`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/processes/:id/measure/post.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
