---
title: "Add Annotation"
method: POST
path: "/api/trajectories/{session_id}/annotations"
tags: ["trajectories"]
---

# Add Annotation

`POST /api/trajectories/{session_id}/annotations`

Both the owner and any mentor in the session's lab may annotate
(mentor needs the session to be visibility='lab' to access it at all,
which is the default once they join).

## Path parameters

- `session_id` string, required

## Headers

- `authorization` string, nullable

## Request body

- AnnotationIn
  - `record_uuid` string, required
  - `body` string, required
  - `severity` string

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/omicos/apis/omicos-server.md) · [All operations](https://skmtc.dev/omicos/apis/omicos-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/omicos/omicos-server/revisions/a00b94573ffe/schema)
