Report a template builder session event
POST
CoderSessionTokenheader
Coder-Session-Token<token>Session event
application/json- body
base_template_id?stringduration_seconds?numberevent_type*stringValue in
"wizard_entry""compose_completion"module_ids?array<string>session_id*stringFormat
uuidsuccess?booleanNo Content
The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X POST \ "$CODER_URL/api/v2/templatebuilder/sessions" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "event_type": "wizard_entry", "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82"}'Example Response204
Empty