---
title: "Start New Node Session"
method: POST
path: "/api/agent-chat/nodes/{node_id}/sessions/new"
tags: ["AgentChat"]
---

# Start New Node Session

`POST /api/agent-chat/nodes/{node_id}/sessions/new`

## Request

- Base URL: `https://api.qomplement.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qomplement.com/api/agent-chat/nodes/{node_id}/sessions/new`
- Auth: HTTP bearer

Archive the current active session for this node and start fresh.

Idempotent in the sense that if no active session exists, this just
means the next message will create one (no work needed). Returns the
archived row id (if any) so the frontend can confirm.

## Path parameters

- `node_id` string, required

## Request body

- NewSessionRequest
  - `workflow_id` string, nullable
  - `title` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-09** `6fe617c112ef`: 1 info
  - endpoint added
- **2026-08-29** `7a7c8e2b5afc`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/qomplement/apis/qomplement-api/changes/api/agent-chat/nodes/:node_id/sessions/new/post.md)

---

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