v1
latestOpenAPI 3.1.02026-07-13250151.3 KBoutcomes
Record a new outcome measurement for an intent.
Cookie-session only — rejects pm_live_ API keys; no Authorization-header inspection. Manual validation (not zod): outcomeIndex rejected only when undefined/null so 0 passes; outcomeText/actualValue must be non-empty strings. recorded_by is set to the session user id; source defaults to 'manual'. workspace_id is derived from the intent row (no membership check beyond RLS). Inserts into intent_outcome_measurements.
post/api/v1/intents/{id}/outcomes
Path parameters
idstring required
id path parameter.
Request body
Response
Measurement recorded; returns the created measurement
object required