---
title: "Create Or Get Session"
method: POST
path: "/api/chat/sessions"
tags: ["chat"]
---

# Create Or Get Session

`POST /api/chat/sessions`

## Request

- Base URL: `https://api.stellara.natlex.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stellara.natlex.it/api/chat/sessions`
- Auth: HTTP bearer

Create a new chat session or return the existing active one.

## Response `200`

Successful Response

- ChatSessionResponse
  - `session_id` integer, required
  - `created_at` unknown

---

[API](https://skmtc.dev/natlex/apis/stellara-api.md) · [All operations](https://skmtc.dev/natlex/apis/stellara-api/llms.txt) · [OpenAPI document](https://skmtc.dev/natlex/apis/stellara-api/revisions/e576f046b61f?raw)
