HTTP API
Secrets
2 routes your API key can call. Each says who may call it; every example assumes KEY is your API key. What only the dashboard does (signing in, making API keys, connecting accounts) isn't listed here: it's in the full OpenAPI spec.
/v1/workspaces/{wid}/secretsOne page of the workspace's secret groups, by name. Never values.
People and API keys
A person sees every group, with each value's hint. An API key sees only the groups it was granted, with their variables' names and no hints: what it may name in secret_groups.
| Parameter | In | Type | About |
|---|---|---|---|
wid | Inpath | Typestring | AboutWorkspace id |
page? | Inquery | Typeinteger | AboutA missing or invalid page is 1 |
perPage? | Inquery | Typeinteger | AboutHeld between 1 and 100 |
Answer · 200
secret_groupsSecretGroup[]requiredidstringnamestringversionintegerentry_countintegerentriesobject[]created_atstringupdated_atstring
metaMetarequiredpageintegertotalintegerItems matching, across all pages
pageCountintegerceil(total / perPage)
perPageinteger
curl -X GET 'https://annex.eversonder.com/v1/workspaces/wsp_…/secrets' \
-H 'Authorization: Bearer anx_live_…'/v1/workspaces/{wid}/secrets/{gid}/envA group as a .env file, for local development
People and API keys
For a signed-in person, or an API key granted the group (any other key gets 404). Every call is written to the audit log first. Lines are NAME=value (taken literally, newlines too); a value holding ' is double-quoted with \\, \" and \n escaped. curl -H "Authorization: Bearer anx_live_…" …/secrets/{gid}/env > .env
| Parameter | In | Type | About |
|---|---|---|---|
wid | Inpath | Typestring | AboutWorkspace id |
gid | Inpath | Typestring | AboutSecret group id (sec_…) or name |
Answer · 200
Cache-Control no-store
curl -X GET 'https://annex.eversonder.com/v1/workspaces/wsp_…/secrets/gid/env' \
-H 'Authorization: Bearer anx_live_…'