Skip to main content
GET
/
compute
/
v1
/
secrets
/
{group}
List secret keys in a group
curl --request GET \
  --url https://api.case.dev/compute/v1/secrets/{group} \
  --header 'Authorization: Bearer <token>'
{
  "group": {
    "id": "grp_123",
    "name": "api-keys",
    "description": "Third-party API keys for legal research tools"
  },
  "keys": [
    {
      "key": "LEXIS_API_KEY",
      "createdAt": "2024-01-15T10:30:00Z",
      "updatedAt": "2024-01-15T10:30:00Z"
    },
    {
      "key": "WESTLAW_ACCESS_TOKEN",
      "createdAt": "2024-01-16T14:20:00Z",
      "updatedAt": "2024-01-20T09:15:00Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

group
string
required

Name of the secret group to list keys from

Query Parameters

env
string

Environment name. If not specified, uses the default environment

Response

Secret keys retrieved successfully

group
object
keys
object[]