Create Procedure
Create a new procedure for the agent on a branch.
Headers
Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.
Path Parameters
Agent ID to get the procedure draft from
"agent_3701k3ttaq12ewp8b7qv5rfyszkz"
Branch ID to get the procedure draft from
"agtbranch_0901k4aafjxxfxt93gd841r7tv5t"
Body
Procedure name
200Initial procedure content
Procedure type
free_form, deterministic When the agent should use this procedure. Empty string means this is a sub-procedure that should only start when another procedure references it. If omitted or null, the trigger is derived from the content instead. Also accepts description as an alias.
Response
Successful Response
ID of the created procedure