---
title: "Create Stream"
method: POST
path: "/v1/workspaces/{workspace}/streams/"
tags: ["v1", "protected", "streams"]
---

# Create Stream

`POST /v1/workspaces/{workspace}/streams/`

## Request

- The document declares no server URL.
- Auth: HTTP bearer

## Path parameters

- `workspace` string, required: Slug of the workspace the request acts in

## Request body

- StreamCreate
  - `description` string
  - `name` string, required: Name, unique in the workspace.

## Response `201`

Successful Response

- StreamResponse
  - `created_at` string, date-time, required
  - `created_by` string, required
  - `description` string, required
  - `id` string, uuid, required
  - `kind` string, required
  - `name` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-19** `1d8a3995ec6c`: 1 breaking, 1 warning
  - removed the required property `retention_days` from the response with the `201` status
  - removed the request property `retention_days`
- **2026-10-06** `5d20495d8e31`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/workspaces/:workspace/streams/post.md)

---

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