ai-agents
ai-agents
Reset To Template
Drop a workspace fork; the parent template re-surfaces in the list.
Mirrors POST /api/prompts/{prompt_id}/reset (apps/api-gateway/src/api/ prompts.py:1018). Cascades clean up triggers, knowledge, escalations, tasks via existing composite FKs. Also deletes the forked prompts row (identified by based_on_system_id pointing at the template's prompt).
400 if target has no based_on_template_id (it isn't a fork).
Spec: §6
post/api/ai-agents/{agent_id}/reset
Request
- Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
- URL: https://api.dialogbrain.com/api/ai-agents/{agent_id}/reset
- Auth: none declared
Path parameters
agent_idinteger required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 5 revisions of this API.