---
title: "Human session; JSON name creates a workspace within the account ownership cap"
method: POST
path: "/v1/workspaces"
---

# Human session; JSON name creates a workspace within the account ownership cap

`POST /v1/workspaces`

## Request

- Base URL: `https://app.agentlinkops.com`
- URL: `https://app.agentlinkops.com/v1/workspaces`
- Auth: HTTP bearer

Human session; JSON name creates a workspace within the account ownership cap. Raw workspace and membership rows can include schema extensions.

## Request body

- object
  - `name` string

## Response `201`

Human session; JSON name creates a workspace within the account ownership cap. Raw workspace and membership rows can include schema extensions.

- object
  - `workspace` object, required
    - `id` string, required
    - `name` string, required
    - `owner_user_id` string, required
    - `created_at` string, required
    - `watch_limit` integer, required
    - `monthly_check_limit` integer, required
    - `event_sequence` integer, required
    - `event_floor` integer, required
  - `membership` object, required
    - `workspace_id` string, required
    - `user_id` string, required
    - `created_at` string, required
    - `role` 'owner' | 'admin' | 'member' | 'viewer', required
    - `project_ids_json` string, nullable, required
  - `created` boolean, required

## Other responses

- `429`: Request-rate or usage refusal. Inspect error.code and recovery details before retrying.
- `default`: Error envelope. Non-configuration 5xx messages are masked and details omitted; allowlisted configuration errors retain static operator recovery.

---

[API](https://skmtc.dev/agentlinkops/apis/agentlinkops-http-api.md) · [All operations](https://skmtc.dev/agentlinkops/apis/agentlinkops-http-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentlinkops/apis/agentlinkops-http-api/revisions/2a712a1dcfa7?raw)
