---
title: "Get current workspace"
method: GET
path: "/api/v1/workspaces/current"
tags: ["Workspace"]
---

# Get current workspace

`GET /api/v1/workspaces/current`

## Request

- Base URL: `https://api.pitch.com`
- URL: `https://api.pitch.com/api/v1/workspaces/current`
- Auth: one of:
  - API key in header `X-API-KEY`
  - HTTP bearer

Get the workspace the caller's API key is scoped to.

## Response `200`

- object
  - `data` object, required
    - `workspace_id` string, uuid, required
    - `name` string, required
    - `created_at` string, date-time, required
    - `logo_url` string, nullable, required
    - `member_count` integer, required
    - `usage` object, required: Usage and quota of the workspace's plan limits, per capability. Capabilities not enabled on the workspace's plan are omitted.
      - `workspace_members_limit` object
        - `quota` union, required: The allowance; the string "unlimited" when uncapped, 0 when no quota has been set and the capability is unusable.
          - integer
          - 'unlimited'
        - `usage` integer, required: Amount used in the current billing period.
      - `teamspaces` object
        - `quota` union, required: The allowance; the string "unlimited" when uncapped, 0 when no quota has been set and the capability is unusable.
          - integer
          - 'unlimited'
        - `usage` integer, required: Amount used in the current billing period.
      - `included_ai` object
        - `quota` union, required: The allowance; the string "unlimited" when uncapped, 0 when no quota has been set and the capability is unusable.
          - integer
          - 'unlimited'
        - `usage` integer, required: Amount used in the current billing period.
      - `additional_ai` object
        - `quota` union, required: The allowance; the string "unlimited" when uncapped, 0 when no quota has been set and the capability is unusable.
          - integer
          - 'unlimited'
        - `usage` integer, required: Amount used in the current billing period.
      - `advanced_links` object
        - `quota` union, required: The allowance; the string "unlimited" when uncapped, 0 when no quota has been set and the capability is unusable.
          - integer
          - 'unlimited'
        - `usage` integer, required: Amount used in the current billing period.
      - `room_links` object
        - `quota` union, required: The allowance; the string "unlimited" when uncapped, 0 when no quota has been set and the capability is unusable.
          - integer
          - 'unlimited'
        - `usage` integer, required: Amount used in the current billing period.

## Other responses

- `401`

---

[API](https://skmtc.dev/pitch/apis/pitch-api.md) - [All operations](https://skmtc.dev/pitch/apis/pitch-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pitch/apis/pitch-api/revisions/68c834acb4bb?raw)
