Skip to main content
GET
Get Secrets For Current Environment

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

FlowPassword
Token URL
/auth/login

Headers

X-Workspace-Id
string | null

Path Parameters

team_id
string<uuid>
required
project_id
string<uuid>
required
environment_id
string<uuid>
required
workspace_id
string<uuid> | null
required

Query Parameters

version
integer | null

Read every secret at this version instead of its latest. Version numbers are per secret, so this is not an environment-wide snapshot: a secret with fewer versions is read at its newest one.

Required range: x >= 1

Response

Successful Response

id
string<uuid4>
required
key
string
required
value
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
current_version
integer
required
environment_type
enum<string>
required
Available options:
dev,
staging,
prod,
pilot,
custom
description
string | null