Projects
Variables

Get Variable By Name

Get a variable definition by name with current labels and latest version.

Requires: User token with project:read_variables scope.

get/v1/projects/{project_id}/variables/{name}/

Request

Path parameters

namestring required
project_idstring uuid required

Response

Successful Response

namestring required
kind'general' | 'prompt'
labelsobject required
descriptionstring nullable
json_schemaobject nullable
template_inputs_schemaobject nullable
type_namestring nullable
aliasesstring[] nullable
examplestring nullable
display_namestring nullable
prompt_slugstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.