Skip to main content
Deepgram's Docs

Search documentation

Type to search this documentation.

List Agent Variables

GET/v1/projects/{project_id}/agent-variablesList Agent Variables

Returns all template variables for the specified project

Parameters

project_idstringpathrequired

The unique identifier of the project

Responses

200A list of agent variablesapplication/json
objectListAgentVariablesV1Response

ListAgentVariablesV1Response

variablesarray of object

A list of agent variables for the project

Show child attributes
Show array items

A template variable for agent configurations

created_atstring · date-time

Timestamp when the variable was created

keystringrequired

The variable name, following the DG_<VARIABLE_NAME> format

updated_atstring · date-time

Timestamp when the variable was last updated

valuevaluerequired

The value to substitute. Can be any valid JSON type

variable_idstringrequired

The unique identifier of the variable

Example response
{
  "variables": [
    {
      "created_at": "2026-06-09T00:00:00Z",
      "key": "string",
      "updated_at": "2026-06-09T00:00:00Z",
      "value": null,
      "variable_id": "string"
    }
  ]
}
400Invalid Requestapplication/json
valueErrorResponse

ErrorResponse

oneOf · 3 options
Option 1stringErrorResponseTextError

ErrorResponseTextError

Option 2objectErrorResponseLegacyError

ErrorResponseLegacyError

err_codestring

The error code

err_msgstring

The error message

request_idstring

The request ID

Option 3objectErrorResponseModernError

ErrorResponseModernError

categorystring

The category of the error

detailsstring

A description of the error

messagestring

A message about the error

request_idstring

The unique identifier of the request

Example response
{
  "err_code": "string",
  "err_msg": "string",
  "request_id": "string"
}
Documentation menu