---
title: "List Agent Variables"
method: GET
path: "/v1/projects/{project_id}/agent-variables"
tags: ["variables"]
---

# List Agent Variables

`GET /v1/projects/{project_id}/agent-variables`

Returns all template variables for the specified project

## Path parameters

- `project_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

A list of agent variables

- ListAgentVariablesV1Response
  - `variables` AgentVariableV1[] — A list of agent variables for the project
    - `variable_id` string, required — The unique identifier of the variable
    - `key` string, required — The variable name, following the DG_<VARIABLE_NAME> format
    - `value` unknown, required
    - `created_at` string, date-time — Timestamp when the variable was created
    - `updated_at` string, date-time — Timestamp when the variable was last updated

## Other responses

- `400` — Invalid Request

---

[API](https://skmtc.net/deepgram/apis/rest-api.md) · [All operations](https://skmtc.net/deepgram/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deepgram/rest-api/versions/bd7ba5c18a6b/schema)
