---
title: "List secret groups"
method: GET
path: "/compute/v1/secrets"
tags: ["Compute"]
---

# List secret groups

`GET /compute/v1/secrets`

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.

## Query parameters

- `env` string

## Response `200`

Successfully retrieved secret groups

- object
  - `groups` object[]
    - `id` string — Unique identifier for the secret group
    - `name` string — Name of the secret group
    - `description` string — Description of the secret group
    - `createdAt` string, date-time — When the secret group was created
    - `updatedAt` string, date-time — When the secret group was last updated

## Other responses

- `400` — No environment specified and no default environment found
- `401` — Invalid API key
- `404` — Specified environment not found

---

[API](https://skmtc.net/casemark/apis/case-dev-api.md) · [All operations](https://skmtc.net/casemark/apis/case-dev-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casemark/case-dev-api/versions/5b7e64e6d6f9/schema)
