GET
/v1/projects/{project_id}/agent-variablesList Agent VariablesReturns all template variables for the specified project
Parameters
project_idstringpathrequiredThe unique identifier of the project
Responses
objectListAgentVariablesV1Response
ListAgentVariablesV1Response
variablesarray of objectA list of agent variables for the project
Show child attributes
Show array items
A template variable for agent configurations
created_atstring · date-timeTimestamp when the variable was created
keystringrequiredThe variable name, following the DG_<VARIABLE_NAME> format
updated_atstring · date-timeTimestamp when the variable was last updated
valuevaluerequiredThe value to substitute. Can be any valid JSON type
variable_idstringrequiredThe unique identifier of the variable
{
"variables": [
{
"created_at": "2026-06-09T00:00:00Z",
"key": "string",
"updated_at": "2026-06-09T00:00:00Z",
"value": null,
"variable_id": "string"
}
]
}valueErrorResponse
ErrorResponse
oneOf · 3 options
Option 1stringErrorResponseTextError
ErrorResponseTextError
Option 2objectErrorResponseLegacyError
ErrorResponseLegacyError
err_codestringThe error code
err_msgstringThe error message
request_idstringThe request ID
Option 3objectErrorResponseModernError
ErrorResponseModernError
categorystringThe category of the error
detailsstringA description of the error
messagestringA message about the error
request_idstringThe unique identifier of the request
{
"err_code": "string",
"err_msg": "string",
"request_id": "string"
}