---
title: "Get the plan-gating payload for a workspace (any member)"
method: GET
path: "/api/workspaces/{workspaceId}/billing/features"
tags: ["Billing"]
---

# Get the plan-gating payload for a workspace (any member)

`GET /api/workspaces/{workspaceId}/billing/features`

## Request

- Base URL: `https://hiveship.app/api`
- URL: `https://hiveship.app/api/api/workspaces/{workspaceId}/billing/features`
- Auth: API key in cookie `hiveship_access`

Slim subscription + usage + feature map + trial info + resolved plan — everything the web app needs to pre-flight plan limits and feature gates, and to render the trial/past-due banners. `subscription.plan` is what the workspace is buying; `resolvedPlan` is what the server actually enforces against (they differ during a trial, which resolves to ENTERPRISE), so upgrade prompts should rank against `resolvedPlan`. Readable by any workspace member. For the full billing payload (billing address, tax id, Stripe details), see GET /billing.

## Path parameters

- `workspaceId` string, required

## Response `200`

Plan-gating payload

---

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