---
title: "Add note"
method: POST
path: "/sessions/{session_id}/notes"
tags: ["notes"]
---

# Add note

`POST /sessions/{session_id}/notes`

## Request

- Base URL: `https://api.helena.bio` (the document declares no server; this is the origin it was published from)
- URL: `https://api.helena.bio/sessions/{session_id}/notes`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/helena-bioinformatics/apis/helix-insight-variant-analysis-service/docs/sessions/:session_id/notes/post.ts> (a function with typed inputs; its response is checked against the schema)

Add a note to a case or variant. Append-only, no edit/delete.

## Path parameters

- `session_id` string, uuid, required

## Request body

- CreateNoteRequest: Request to create a case or variant note.
  - `text` string, required: Note content
  - `variant_idx` integer, nullable: Variant index (null = case-level note)

## Response `201`

Successful Response

- NoteResponse: Response for a single note.
  - `id` string, uuid, required
  - `user` NoteAuthor, required: Compact author info for display.
    - `name` string, required
    - `initials` string, required
  - `variant_idx` integer, nullable, required
  - `text` string, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/helena-bioinformatics/apis/helix-insight-variant-analysis-service.md) - [All operations](https://skmtc.dev/helena-bioinformatics/apis/helix-insight-variant-analysis-service/llms.txt) - [OpenAPI document](https://skmtc.dev/helena-bioinformatics/apis/helix-insight-variant-analysis-service/revisions/a800b0b27feb?raw)
