Detect agent dynamic variables
GET/api/v1/agents/:agentId/environment-tags/detected-variables
List the dynamic variables a version expects as inputs, found in its prompts, messages, tools, and default dynamic variables. System variables and values collected during the conversation are excluded. Use the result to decide which variables to set on an environment tag.
Request
Responses
- 200
- 400
- 404
Detected dynamic variables.
Invalid version.
Agent or version not found.