templates

Get Edit Status

Return the status of the most-recent 'Edit with AI' run on this template.

Surfaces to the template detail page so the user sees:

  • "Edit call in progress" while they (or a teammate) are still on the call
  • "Synthesizing changes…" between call end and the webhook PATCH landing
  • "Updated just now" briefly after synthesis completes, so the user knows to refresh and see the new content

Without this signal, after the call hangs up the user is left on the template detail page with no idea whether anything is happening or whether their edits made it in. The webhook synthesis can take 10-30s; that's a long silence to give the user with no feedback.

Polls live in the frontend (idle 0s, in-flight states every 3-4s) so this endpoint stays a simple read.

State machine (driven by interviews.status + recency of completed_at):

  • in_call: interview.status == 'in_progress'
  • processing: interview.status in ('processing','processing_failed')
  • recently_completed: status == 'completed' AND completed_at within 60s
  • idle: anything older, or no edit interviews ever
get/v1/templates/{template_id}/edit-status

Path parameters

template_idstring required

Response

Successful Response

{"stackTrail":"paths:/v1/templates/{template_id}/edit-status:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.