# Create session

URL: https://docs.clinia.com/api/rest/post-patients-patientId-sessions

> Opens a new query session scoped to a patient. Sessions track interaction context across multiple MCP tool calls within a single agent run.

Deprecated: a session no longer needs opening. Writing under a `sessionId` of your choosing — appending messages, a tool call's `session_id`, or `POST …/ingestions/sessions` — creates it, and the import route generates one when a transcript declares none.

## `POST /v1/patients/{patientId}/sessions`

Parameters, request body and responses: operation `create-session` in the [OpenAPI spec](https://docs.clinia.com/openapi.yaml).