Skip to main content

List project environments

get/v1/secrets/environments

Team admins see all environments; other members see only the ones they have been granted access to.

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Query Parameters

  • search string

    Case-insensitive search by environment name and alias

  • project stringrequired

    Project alias

  • page_size integer<int64>
  • page integer<int64>

Response

  • Array [
  • access_levelstring

    Current user's access level to the environment

    Possible values: [none, viewer, editor, admin]

    Example: editor
    created_atstring<date-time>

    Creation date

    idinteger<int64>

    Identifier

    Example: 10
    initial_fetch_atstring<date-time>

    Date secrets were first read via the API

    namestring

    Name

    Example: Production
    orderinteger<int64>

    Display order

    Example: 1
    personal_configsboolean

    Personal configurations <environment>/personal are allowed

    slugstring

    Alias

    Example: production
    updated_atstring<date-time>

    Update date

  • ]