New Variables API

The Variables API provides read access to the Variables configured for your AI Agent. Two endpoints are available:

  • GET /v2/variables: Lists every accessible Variable.
  • GET /v2/variables/{id}: Returns a single Variable by its id.

Both endpoints return the Variables shown on the dashboard, each as a summary containing its id and name. Reserved and internal Variables are not included.