---
title: "Create Workspace"
method: POST
path: "/v1/workspaces"
tags: ["Workspaces"]
---

# Create Workspace

`POST /v1/workspaces`

## Headers

- `X-API-Key` string, required

## Request body

- CreateWorkspaceRequest
  - `name` string, required
  - `description` string, nullable
  - `usage_limit_credits` number, nullable

## Response `201`

Successful Response

- WorkspaceOut
  - `id` string, required
  - `name` string, required
  - `description` string, nullable
  - `is_default` boolean, required
  - `usage_limit_credits` number, nullable
  - `member_count` integer, required
  - `key_count` integer, required
  - `created_at` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/getbluejay/apis/bluejay-api.md) · [All operations](https://skmtc.dev/getbluejay/apis/bluejay-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getbluejay/bluejay-api/revisions/bf69ab7268a4/schema)
