List all trainings
List all training scenarios for your organization. Trainings teach the AI how to respond to specific situations. Supports filtering by search term, type, and draft status, with pagination.
get/training
Query parameters
searchstring
Case-insensitive search on title or content
type'BEHAVIORAL' | 'SCENARIO_SPECIFIC'
Filter by type: BEHAVIORAL or SCENARIO_SPECIFIC
is_draft'true' | 'false'
Filter by draft status
limitinteger
Max items to return (1-100, default 50)
offsetinteger
Number of items to skip (default 0)
sort_by'created_at' | 'handoff_count'
Sort by field: created_at (default) or handoff_count (most handoffs first)
metadatastring
Filter by metadata — JSON object of key-value pairs to match (uses jsonb @> containment)
Response
Default Response