---
title: "My Models"
method: GET
path: "/portal/models"
tags: ["portal"]
---

# My Models

`GET /portal/models`

## 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/portal/models`
- Auth: none declared

## Query parameters

- `tenant` string, nullable: legacy alias of X-B2M-Tenant

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- PortalModelsOut: The owner's view (PLATFORM-159): the same state, plus the display names the admin screen reads from /admin/products, which owners cannot call.
  - `tenant_id` string, uuid, required
  - `mode` string, nullable, required
  - `key_sync_pending` boolean, required
  - `key_synced_at` string, date-time, nullable, required
  - `products` ProductChoicesOut[], required
    - `product` string, required
    - `edition` string, required
    - `slots` SlotChoiceOut[], required
      - `slot` string, required
      - `role_name` string, required
      - `locked` boolean, required
      - `allowed` string[], required
      - `default` string, nullable, required
      - `chosen` string, nullable, required
      - `chosen_by` string, nullable, required
      - `chosen_at` string, date-time, nullable, required
      - `reason` string, nullable, required
      - `effective` string, nullable, required
      - `fallback_reason` string, nullable, required
      - `fallback_since` string, date-time, nullable, required
  - `key_sync` string, nullable
  - `names` object, 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)
