Get Environment Variable
Use this API to get the value of an Environment Variable.
get/environment/{workspace}/{variable_name}
Request
- Base URLhttps://client.apimetrics.io/api/2
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspacestring required
Name of the Workspace the Environment Variable can be found
variable_namestring required
Name of the Variable you're accessing
Response
200
Example response
{
"meta": {
"updated": "2017-08-11T15:25:14.614940Z",
"workspace": "<< workspace >>",
"created": "2017-08-11T15:25:14.614930Z"
},
"workspace_variable": {
"name": "<< variable_name >>",
"value": "<< the value >>"
},
"id": "<<ID String>>"
}Changes
No recorded changes to this operation across all 1 revision of this API.