Secrets

List secrets

Lists the account's environment variables: shared secrets, reusable across its sites, plus a roll-up of every site-owned one. Values are masked here — each entry exposes only last4. Read one with the reveal endpoint.

get/secrets

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/secrets
  • Auth: API key in header Authorization

Query parameters

target'preview' | 'production'

Filter by deployment target.

scope'shared' | 'site'

shared for account-level secrets, site for secrets a single site owns.

starting_afterstring

Cursor for pagination — the ID of the last item in the previous page

limitinteger

Items per page

Response

List of secrets (values masked)

object'list' required
has_moreboolean required
urlstring required

Changes

No recorded changes to this operation across all 2 revisions of this API.