---
title: "Return the caller's resolved commercial plan"
method: GET
path: "/api/v1/me/plan"
tags: ["Me"]
---

# Return the caller's resolved commercial plan

`GET /api/v1/me/plan`

## Request

- Base URL: `https://api.hub-equity.com`
- URL: `https://api.hub-equity.com/api/v1/me/plan`
- Auth: HTTP bearer

Lightweight endpoint resolving {free, pro, enterprise} for the caller. Accepts JWT or API key. It does not itself gate anything.

## Response `200`

Resolved plan

- ApiResponseMePlanResponse
  - `success` boolean, required
  - `data` MePlanResponse: Resolved commercial plan of the caller, for client-side gating.
    - `commercial_plan` 'free' | 'pro' | 'enterprise', required: Resolved commercial axis, mapped from tenant_plan.
    - `tenant_plan` string, nullable, required: The workspace's raw plan code: 'free', 'builder', 'team', 'enterprise', or null.
    - `tenant_id` string, nullable, required
    - `max_active_keys` integer, required: Active API keys the workspace may hold, live and test together.
    - `max_seats` integer, required: Members the workspace may hold; -1 = negotiated.
  - `error` ApiError: API error details.
    - `code` string, required
    - `message` string, required
    - `details` object, nullable
  - `meta` ApiMeta: API response metadata. Pagination fields (``page`` / ``per_page`` / ``total``) are populated on collection endpoints only. They are omitted from the payload on single-resource endpoints.
    - `timestamp` string, date-time
    - `request_id` string, nullable
    - `page` integer, nullable
    - `per_page` integer, nullable
    - `total` integer, nullable
  - `links` ApiLinks: HATEOAS-style pagination cursors. Host-relative path + query links for a collection page. Present on collection endpoints, ``null`` fields where a page doesn't exist (``next`` on the last page, ``prev`` on the first). The whole ``links`` object is omitted from single-resource responses (see ``ApiResponse`` serializer).
    - `self` string, nullable
    - `first` string, nullable
    - `prev` string, nullable
    - `next` string, nullable
    - `last` string, nullable

## Other responses

- `401`: Unauthenticated

---

[API](https://skmtc.dev/hub-equity/apis/hub-equity-api.md) · [All operations](https://skmtc.dev/hub-equity/apis/hub-equity-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hub-equity/apis/hub-equity-api/revisions/e8eeda5dc13e?raw)
