Method
describeAgentVersion GET
Copy GET

Retrieves a full description of the specified agent version.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes agentVersion str Unique string identifier of the agent version.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
result AgentVersion
KEY TYPE Description
agentVersion str The unique identifier of an agent version.
status str The current status of the model.
agentId str A reference to the agent this version belongs to.
agentConfig dict The config options used to create this agent.
publishingStartedAt str The start time and date of the training process in ISO-8601 format.
publishingCompletedAt str The end time and date of the training process in ISO-8601 format.
pendingDeploymentIds list List of deployment IDs where deployment is pending.
failedDeploymentIds list List of failed deployment IDs.
error str Relevant error if the status is FAILED.
agentExecutionConfig dict The config for arguments used to execute the agent.
codeSource CodeSource If a python model, information on where the source code is located.
KEY TYPE Description
sourceType str The type of the source, one of TEXT, PYTHON, FILE_UPLOAD, or APPLICATION_CONNECTOR
sourceCode str If the type of the source is TEXT, the raw text of the function
applicationConnectorId str The Application Connector to fetch the code from
applicationConnectorInfo str Args passed to the application connector to fetch the code
packageRequirements list The pip package dependencies required to run the code
status str The status of the code and validations
error str If the status is failed, an error message describing what went wrong
publishingMsg dict Warnings in the source code
moduleDependencies list The list of internal modules dependencies required to run the code
workflowGraph WorkflowGraph The workflow graph for the agent.
KEY TYPE Description
commonSourceCode None None
primaryStartNode Union[str, WorkflowGraphNode] The primary node to start the workflow from.
nodes List[WorkflowGraphNode] A list of nodes in the workflow graph.
edges List[WorkflowGraphEdge] A list of edges in the workflow graph, where each edge is a tuple of source, target, and details.
Language: