---
title: "GET /model-hub/secrets/{id}/"
method: GET
path: "/model-hub/secrets/{id}/"
tags: ["model-hub"]
---

# GET /model-hub/secrets/{id}/

`GET /model-hub/secrets/{id}/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/secrets/{id}/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

ViewSet for managing secrets.
Provides CRUD operations with organization-level isolation.

## Response `200`

OK

- Secret
  - `id` string, uuid
  - `name` string, required
  - `description` string, nullable
  - `secret_type` 'API_KEY' | 'PASSWORD' | 'TOKEN' | 'OTHER'
  - `secret_type_display` string
  - `key` string, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
