---
title: "Get Workspace Plan"
method: GET
path: "/api/v1/workspaces/{workspace_id}/plan"
tags: ["workspace-plan"]
---

# Get Workspace Plan

`GET /api/v1/workspaces/{workspace_id}/plan`

## Request

- Base URL: `https://memory.kagura-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://memory.kagura-ai.com/api/v1/workspaces/{workspace_id}/plan`
- Auth: none declared

Get workspace plan information.

Issue #246: Owner-only access (frontend shows in owner-only menu).

Returns current plan, usage stats, quotas, and upgrade/downgrade options.

## Path parameters

- `workspace_id` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- WorkspacePlanInfo: Workspace plan information with usage stats.
  - `workspace_id` string, required
  - `workspace_name` string, required
  - `current_plan` string, required
  - `plan_display_name` string, required
  - `usage` object, required
  - `quotas` WorkspacePlanQuotas, required: Effective quotas of one workspace, as ``GET /workspaces/{id}/plan`` returns them. Typed rather than a bare ``dict`` because the frontend reads named keys off this payload: the token screens take "used / max" and the quota-capacity line from ``max_resource_tokens`` / ``max_quota_capacity`` (#1560). A rename here must fail pyright at the construction site, not silently degrade the UI to its "cap unknown" fallback.
    - `memory_limit` integer, required
    - `max_contexts` integer, required
    - `max_resource_tokens` integer, required
    - `max_quota_capacity` integer, required
    - `mcp_calls_per_day` integer, required
    - `mcp_calls_per_week` integer, required
    - `rest_calls_per_day` integer, required
    - `public_calls_per_day` integer, required
  - `can_upgrade` boolean, required
  - `can_downgrade` boolean, required
  - `suspended` string[]

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud.md) · [All operations](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/revisions/09f17f5ada29?raw)
