Directory API
Use the Directory API to list variables and read their values. Both endpoints require directory:read. Select that permission explicitly if your plan offers it. It includes access to secret values.
| Endpoint | Description |
|---|---|
GET /api/v1/directory/?region=au | List variable metadata in the selected region. Omit region to use your account’s default Directory region. |
GET /api/v1/directory/{id}/ | Read a variable’s metadata and get a short-lived value_url. |
Fetch the value URL separately without sending your API key. Use the dashboard to create, edit, or delete Directory variables.