Flow AgentsVersion: 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.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
agent-studio. readonlyAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Path Parameters
agentIdstringrequired
Agent ID to retrieve (returns metadata and all non-deleted versions)
Example:
p1q2r3s4t5u6v7w8x9y0z1a2Query Parameters
locationIdstringrequired
Location (sub-account) ID that owns the agent
Example:
C2QujeCh8ZnC7al2InWRsourcestring
Origin channel attributed to this read for auditing (e.g. public_api, internal)
Example:
apiResponse
Agent retrieved successfully
successbooleanrequired
Success status
Example:
truemessagestringrequired
Response message
Example:
Agent retrieved successfullyagentobjectrequired
Agent metadata with all active versions
traceIdstring
Request trace ID for debugging
Example:
22dbda99-13d3-4b4d-a30e-c468334e2178