Processes
Measure the draft against items whose outcome is known
Changed onRuns 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.
post/v1/processes/{id}/measure
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Path parameters
id, string uuid required
Request body
object required
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
{ measurementId, status: running, total, endsAt }.
Changes
- info
endpoint added
- info