Skip to main content

Get list of environment variables

GET 

/v2/acts/:actorId/versions/:versionNumber/env-vars

Gets the list of environment variables for a specific version of an Actor. The response is a JSON object with the list of EnvVar objects, where each contains basic information about a single environment variable.

Request

Path Parameters

    actorId string required

    Actor ID or a tilde-separated owner's username and Actor name.


    Example: janedoe~my-actor
    versionNumber string required

    Actor version


    Example: 0.1

Status 200

Response Headers
    {
    "data": {
    "total": 5,
    "items": [
    {
    "name": "MY_ENV_VAR",
    "value": "my-value",
    "isSecret": false
    }
    ]
    }
    }