templates
Record Learning
Record a learning observation from a manual test (data source or webhook).
Fires the same background synthesis tasks as session-end learnings, but with min_failures_for_synthesis=1 — a single intentional test failure is enough signal to synthesize a don't rule. Use this after test_data_source or test_output to build up the knowledge base during template setup, not just after live interviews.
post/v1/templates/{template_id}/learnings/record
Path parameters
template_idstring required
Request body
Response
Successful Response
{"stackTrail":"paths:/v1/templates/{template_id}/learnings/record:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.