Get Procedure
Retrieve a procedure at a specific version or the current branch HEAD.
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"
The procedure ID
"agtprc_6qbpwdq8n01bxhk44bgjy6f10ck3"
Query Parameters
The version ID to retrieve. If omitted, returns the version at branch HEAD.
"agtprcv_7rbqxer9o12cyxi55ckw6sgz1dl4"
The agent version ID to retrieve the procedure for.
"agtvrsn_8901k4t9z5defmb8vh3e9361y7nj"
Response
Successful Response
Procedure ID
Procedure name
200Procedure content
50000Version ID of a version of the procedure. None for a procedure never versioned.
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.