---
title: "Create New Session"
method: POST
path: "/session/new"
---

# Create New Session

`POST /session/new`

.

## Request body

- CreateSessionRequest — Model of the request to create a new session.
  - `info` string, nullable

## Response `200`

Successful Response

- InteractiveSessionBase — The base model for representing interactive sessions.
  - `id` integer, nullable, required
  - `user_id` integer, nullable, required
  - `info` string, nullable, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-17** `c24fa4e23380` — 1 info
  - the endpoint scheme security `APIKeyCookie` was added to the API
- **2025-05-20** `bbcc40488a72` — 1 info
  - the endpoint scheme security `APIKeyCookie` was removed from the API

[Change history](https://skmtc.dev/industrial-optimization-group/apis/desdeo-fast-api/changes/session/new/post.md)

---

[API](https://skmtc.dev/industrial-optimization-group/apis/desdeo-fast-api.md) · [All operations](https://skmtc.dev/industrial-optimization-group/apis/desdeo-fast-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/industrial-optimization-group/desdeo-fast-api/revisions/c24fa4e23380/schema)
