Skip to main content
Flow AgentsVersion: v3

Get Agent (Deprecated)

GET/agent-studio/public-api/agents/{agentId}
deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Deprecated endpoint - use GET /agent/:agentId instead.

Gets a specific agent by its ID for the specified location with all its versions. 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.readonly
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

agentIdstringrequired

Managed Agent ID

Example:p1q2r3s4t5u6v7w8x9y0z1a2

Query Parameters

locationIdstringrequired

Location ID

Example:C2QujeCh8ZnC7al2InWR
sourcestring

Origin channel attributed to this read for auditing (e.g. public_api, internal)

Example:api

Response

Agent retrieved successfully

successbooleanrequired

Success status

Example:true
messagestringrequired

Response message

Example:Agent retrieved successfully
agentobjectrequired

Agent metadata with all active versions

traceIdstring

Request trace ID for debugging

Example:22dbda99-13d3-4b4d-a30e-c468334e2178