v2

latestOpenAPI 3.1.02026-08-017774107.7 KB
proxies

Upsert Intent Trigger Route

Create or update the intent scoring trigger config for this proxy.

put/api/v1/proxies/{proxy_id}/intent-trigger

Path parameters

proxy_idstring uuid required

Headers

Authorizationstring nullable
X-Request-IDstring nullable

Request body

turn_scopestring nullable

Which turns to score: 'all', 'first', or 'first_n'.

first_ninteger nullable

Only used when turn_scope='first_n'. Number of turns to score.

on_toolsstring nullable

How to handle turns that contain tool calls.

min_content_charsinteger nullable

Skip scoring if the turn content is shorter than this many chars.

Response

Successful Response

turn_scopestring required
first_ninteger nullable required
on_toolsstring required
min_content_charsinteger required
sample_ratestring required