> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Chat Session - POST /v1/workspaces/:workspace_id/chat-sessions

> Create a chat session via POST /v1/workspaces/:workspace_id/chat-sessions. Minimum role contributor.

Create a chat session. Sessions hold multi-turn messages and serve as the source for layered chat memory distillation (L0–L3).

## Endpoint

```http theme={null}
POST /v1/workspaces/:workspace_id/chat-sessions
```

## Authentication

`Authorization: Bearer <jwt>` or `X-API-Key <sk_...>`. Minimum role: **contributor**.

## Path parameters

**workspace\_id** `string` *required*

Workspace id.

## Request body

**title** `string`

Session title; server-decided when omitted.

## Response

**id** `string`

Session id (`sess_...`).

**workspace\_id** `string`

Owning workspace id.

**owner\_id** `string`

Owner user id.

**title** `string`

Title.

**created\_at** `string`

Creation time (RFC3339).

**updated\_at** `string`

Update time (RFC3339).

## Example

```bash cURL theme={null}
curl -X POST https://memo.ariacompute.com/v1/workspaces/ws_01a2b3c4d5e6/chat-sessions \
  -H "Authorization: Bearer <jwt>" \
  -H "Content-Type: application/json" \
  -d '{"title":"Product Inquiry"}'
```

```json 200 theme={null}
{
  "id": "sess_01a2b3c4d5e6",
  "workspace_id": "ws_01a2b3c4d5e6",
  "owner_id": "usr_01a2b3c4d5e6",
  "title": "Product Inquiry",
  "created_at": "2026-10-12T09:00:00Z",
  "updated_at": "2026-10-12T09:00:00Z"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.