Skip to main content
Gets a specific agent by its ID for the specified account 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.

Autorización

string
required
Bearer token generado desde el portal Leadway. Ver Autenticación.
string
default:"2021-07-28"
required
Versión de la API.

Path parameters

string
default:"p1q2r3s4t5u6v7w8x9y0z1a2"
required

Query parameters

string
default:"C2QujeCh8ZnC7al2InWR"
required
string
default:"api"

Respuestas

boolean
default:"True"
required
Success status
string
default:"Agent retrieved successfully"
required
Response message
object
required
Agent metadata with all active versions
string
default:"22dbda99-13d3-4b4d-a30e-c468334e2178"
Request trace ID for debugging
number
default:"500"
string
default:"Internal Server Error"

Ejemplo