Get a global variable

GET {{baseUrl}}/api/v1/synthetics/variables/:variable_id

Get the detailed configuration of a global variable.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"description":"Example description","name":"MY_VARIABLE","tags":["team:front","test:workflow-1"],"value":{"secure":true,"value":"value"},"attributes":{"restricted_roles":["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]},"id":"non commodo eiusmod","parse_test_options":{"type":"http_body","field":"content-type","localVariableName":"LOCAL_VARIABLE","parser":{"type":"regex","value":".*"}},"parse_test_public_id":"abc-def-123"}