Retrieve all secret groups for a compute environment. Secret groups organize related secrets (API keys, credentials, etc.) that can be securely accessed by compute jobs during execution.
cURL
curl --request GET \ --url https://api.case.dev/compute/v1/secrets \ --header 'Authorization: Bearer <token>'
{ "groups": [ { "id": "sg_abc123", "name": "legal-apis", "description": "API keys for legal research services", "createdAt": "2024-01-15T10:30:00Z", "updatedAt": "2024-01-15T10:30:00Z" }, { "id": "sg_def456", "name": "database-creds", "description": "Database connection credentials", "createdAt": "2024-01-10T14:20:00Z", "updatedAt": "2024-01-12T09:15:00Z" } ] }
API key starting with sk_case_
sk_case_
Environment name to list secret groups for. If not specified, uses the default environment.
Successfully retrieved secret groups
Show child attributes
Was this page helpful?