Get Procedure
Retrieve a procedure at a specific version or the current branch HEAD.
Pfadparameter
agent_id
Agent ID to get the procedure draft from
branch_id
Branch ID to get the procedure draft from
procedure_id
The procedure ID
Header
xi-api-key
Abfrageparameter
version_id
The version ID to retrieve. If omitted, returns the version at branch HEAD.
agent_version_id
The agent version ID to retrieve the procedure for.
Antwort
Successful Response
procedure_id
Procedure ID
name
Procedure name
content
Procedure content
version_id
Version ID of a version of the procedure. None for a procedure never versioned.
type
Procedure type
Erlaubte Werte:
trigger
When the agent should use this procedure. Empty string means this is a sub-procedure that should only start when another procedure references it.
folder_parent_id
Procedure ID of the folder this procedure is placed in. None means root.
Fehler
422
Procedures Get Request Unprocessable Entity Error