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

# Create Session

`POST /api/sessions`

Create a session for the authenticated user in the current workspace.

Parameters:
    body (SessionCreateRequest): Session creation data, including the optional title.
    identity (LocalScopeDep): Authenticated user and workspace scope.
    repo (SessionCatalogDep): Session repository used to create the session.

Returns:
    SessionDetailResponse: The newly created session details.

## Request body

- SessionCreateRequest
  - `title` string, nullable

## Response `201`

Successful Response

- SessionDetailResponse — Session detail — same public shape as the summary today.
  - `id` string, uuid, required
  - `title` string, required
  - `status` 'active' | 'archived', required
  - `checkpoint_version` integer, required
  - `created_at` string, nullable
  - `updated_at` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/qredence/apis/fleet-rlm.md) · [All operations](https://skmtc.net/qredence/apis/fleet-rlm/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qredence/fleet-rlm/revisions/c47be4a3f07e/schema)
