---
title: "Create Team"
method: POST
path: "/teams"
tags: ["teams"]
---

# Create Team

`POST /teams`

Create a new team with the authenticated user as owner.

The creator automatically becomes the team owner.

## Request body

- TeamCreate — Request model for creating a team.
  - `name` string, required — Name for the team
  - `usage_reset_timezone` string, nullable — IANA timezone for the daily credit reset hour. Defaults to UTC when omitted.

## Response `200`

Successful Response

- TeamResponse — Response model for a single team.
  - `id` string, required
  - `name` string, required
  - `owner_id` string, required
  - `payment_plan` string, required
  - `router_enabled` boolean
  - `zero_data_retention` boolean
  - `created_at` string, required
  - `updated_at` string, required
  - `member_count` integer, nullable
  - `current_user_role` 'owner' | 'billing' | 'admin' | 'editor' | 'viewer' — Team member roles with hierarchical permissions. Wire DTO mirror of the ORM ``TeamRoleType`` enum. Used only for API request/response serialization; authorization decisions route through the ORM matrix (``database_tables.permissions``), never this enum.
  - `capabilities` object, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pioneer/apis/brain-api.md) · [All operations](https://skmtc.net/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pioneer/brain-api/revisions/31dfe831e079/schema)
