v1

latestOpenAPI 3.1.0AGPL-3.02026-07-17644498.1 KB
Variables

Get a variable

Retrieve a single variable. Secret values are redacted, and file-type variables return metadata rather than file contents.

get/api/variables/{id}

Response

Variable details

idstring uuid
projectIdstring uuid
keystring
type'variable' | 'secret' | 'file'

Variable type. File variables expose metadata in API responses; file contents are not returned.

valuestring

Plaintext for regular variables, redacted for secrets, and empty for file variables

isSecretboolean
descriptionstring nullable
fileNamestring nullable
fileSizeinteger nullable
mimeTypestring nullable
createdAtstring date-time
updatedAtstring date-time nullable