---
title: "Create Session"
method: POST
path: "/med-assist/session"
---

# Create Session

`POST /med-assist/session`

Creates a new MedAssist session that provides a session ID and session token for WebSocket communication.

## Request body

- object

## Response `200`

Session created successfully

- object
  - `session_id` string, uuid — Unique session identifier
  - `session_token` string — JWT token for WebSocket authentication

## Other responses

- `403` — Forbidden. Missing agent or malformed token.
- `404` — Not found. Agent ID not found.
- `500` — Internal server error.

---

[API](https://skmtc.net/eka/apis/eka-developer-apis.md) · [All operations](https://skmtc.net/eka/apis/eka-developer-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eka/eka-developer-apis/versions/9ea23456f722/schema)
