---
title: "Record a review search"
method: POST
path: "/v1/review-search-terms"
tags: ["Field Reviews"]
---

# Record a review search

`POST /v1/review-search-terms`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/review-search-terms`
- Auth: HTTP bearer

Records a phrase searched for in a document while checking a field. Recorded searches improve the suggestions every reviewer of that field gets. Requires the `reviews:write` scope.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `term` string, required
  - `field_key` string, required
  - `pipeline_document_id` string, uuid
  - `pipeline_id` string, uuid
  - `schema_id` string, uuid
  - `document_id` string, uuid
  - `match_count` integer
  - `view` 'pdf' | 'markdown'
  - `surface` 'review-queue-flow' | 'data-product-review-mode'
  - `session_id` string, uuid
  - `sequence` integer
  - `result_state` 'matched' | 'none' | 'partial'
  - `matches` object[]
    - `page` integer
    - `text` string, required
    - `context` string, required
  - `active_match_index` integer

## Response `201`

`{ id }`

## Other responses

- `400`: The request is invalid.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/review-search-terms/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)
