Compile Procedures (legacy)
Legacy. Do not use. Saving an agent draft (POST /v1/convai/agents/{agent_id}/drafts) and publishing an agent (PATCH /v1/convai/agents/{agent_id}) compile structured procedures into workflow nodes and edges, save the compiled workflow with the draft or version, and return validation errors, so a separate compile call is no longer needed. This endpoint remains available for the time being so existing callers do not break, as a dry-run that compiles the current procedure drafts into a workflow without persisting anything. It will eventually be deprecated.
Path parameters
agent_id
Agent ID to get the procedure draft from
branch_id
Branch ID to get the procedure draft from
Headers
xi-api-key
Response
Successful Response
workflow
Generated workflow from compilation
Errors
400
Procedures Compile Request Bad Request Error
422
Procedures Compile Request Unprocessable Entity Error