templates

Test Template

Create a test interview and session in one shot, returning a join URL for immediate testing.

Phase A versioning behavior — caller decides whether to test the specific version (passed id) or whichever is currently active in the lineage:

  • Detail page (admin viewing a specific version): passes pin_specific_version: true so we test THE selected version even when it's inactive. Lets "create v2 → test v2 → promote" work without first making v2 production-live.
  • List view (admin clicked Test on the row): default behavior — pin_specific_version is missing/false, we resolve to the active version of the lineage so the test mirrors what real users get.
post/v1/templates/{template_id}/test

Path parameters

template_idstring required

Request body

object nullable required

Response

Successful Response

{"stackTrail":"paths:/v1/templates/{template_id}/test: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.