Skip to main content
Version: v3

Get Agent

GET 

/agent-studio/agent/:agentId

Gets a specific agent by its ID for the specified location with all its versions. Returns complete agent metadata and all non-deleted versions (draft, staging, production). locationId is required parameter. The agent must have active status.

Request

Version stringrequired

API Version

Available optionsv3
agentId stringrequired
locationId stringrequired
source string
application/json

Agent retrieved successfully

Schema
    successbooleanrequired

    Success status

    messagestringrequired

    Response message

    agentobjectrequired

    Agent metadata with all active versions

    traceIdstring

    Request trace ID for debugging