---
title: "Get Workspace Model Secret Endpoint"
method: GET
path: "/studio/v1/settings/models/{name}/secrets"
---

# Get Workspace Model Secret Endpoint

`GET /studio/v1/settings/models/{name}/secrets`

## Path parameters

- `name` string, required

## Response `200`

Successful Response

- SecretResponse
  - `secret_id` string, required
  - `secret_key` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/ai21/apis/ai21-studio-api.md) · [All operations](https://skmtc.net/ai21/apis/ai21-studio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ai21/ai21-studio-api/versions/4105747cd57d/schema)
