---
title: "Model Slots By Workspace"
method: GET
path: "/internal/workspaces/{workspace_id}/model-slots"
tags: ["tenant-models"]
---

# Model Slots By Workspace

`GET /internal/workspaces/{workspace_id}/model-slots`

## Request

- Base URL: `https://api.b2metric.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.b2metric.com/internal/workspaces/{workspace_id}/model-slots`
- Auth: none declared

The effective model per slot for the tenant behind `workspace_id`, for ASKY's read-only
model table. Same caller check as the credential read (asky only), so the 403 is the same
for a real and an unknown workspace.

## Path parameters

- `workspace_id` string, uuid, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- WorkspaceModelSlotsOut: What ASKY reads to show its read-only model table. No key, no allowed lists.
  - `workspace_id` string, uuid, required
  - `products` ServiceProductOut[], required
    - `product` string, required
    - `edition` string, required
    - `slots` ServiceSlotOut[], required
      - `slot` string, required
      - `role_name` string, required
      - `model` string, nullable, required
      - `default` string, nullable, required
      - `chosen` string, nullable, required
      - `fallback_reason` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/b2metric/apis/b2metric-license-api.md) - [All operations](https://skmtc.dev/b2metric/apis/b2metric-license-api/llms.txt) - [OpenAPI document](https://skmtc.dev/b2metric/apis/b2metric-license-api/revisions/5c26e11e8b53?raw)
