Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Global Variable by ID

Fetch a single global variable by its entity ID (data.id from the create response or the list response). The response includes the full variable object, including checksum - copy it before calling update.

The value field is masked as *** when isSecret is true.

Get global variable by id

get

Fetch a single global variable by its entity ID.

Response data is the full variable object: id, name, dataType, value (masked for secrets), isSecret, canReset, checksum, createdAt and updatedAt.

Copy data.checksum from this response before calling update.

Authorizations
Nected-API-KeystringRequired

Your Nected API key. Obtain from workspace settings.

Path parameters
entity-idstringRequired

The variable's entity ID (from the create response data.id)

Example: 3f6c1e2a-8b4d-4c7e-9a10-5d2b7e8f9a01
Query parameters
versionstringOptional

Specific version to fetch. Omit for the current version.

Header parameters
Nected-BranchstringOptional

Branch name (optional)

Responses
200

OK — full variable object

application/json

Success response for get by id

codestringOptionalExample: success
messagestringOptionalExample: Success.
get/dev/v1/variable/{entity-id}
GET /dev/v1/variable/{entity-id} HTTP/1.1
Host: api.nected.ai
Nected-API-Key: YOUR_API_KEY
Accept: */*
{
  "data": {
    "id": "3f6c1e2a-8b4d-4c7e-9a10-5d2b7e8f9a01",
    "name": "tax_rate_gst",
    "dataType": "numeric",
    "value": 18,
    "isSecret": false,
    "canReset": true,
    "checksum": "a3f1b2c4d5e6f7a8b9c0d1e2f3a4b5c6",
    "createdAt": "2026-01-10T10:00:00.000Z",
    "updatedAt": "2026-04-22T08:30:00.000Z"
  },
  "code": "success",
  "message": "Success."
}

Last updated