agents
List declared context variables across an agent's bound workflows
Aggregate the union of context_variables declared across the workflows bound to the agent's active revision.
Used by the evaluator-create UI to drive a typo-safe dropdown for the agent.variable_extracted deterministic-eval signal. The service owns the union + dedup (agent-own wins) and returns typed ContextVarSpec — this handler just maps each spec to the response shape.
get/v1/agents/{agent_id}/variables
Path parameters
agent_idstring uuid required
Response
Successful Response