---
title: "Send annotations"
method: POST
path: "/sessions/{id}/annotations"
---

# Send annotations

`POST /sessions/{id}/annotations`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/sessions/{id}/annotations`
- Auth: HTTP bearer

Send marked-up elements of a page or artifact to the agent as one message, as the web's and the Mac's Annotate do: each selection with its label, selector, nearby text and box, an optional comment per selection, and optional screenshots as uploaded files.

## Path parameters

- `id` string, required

## Request body

- object
  - `selections` object[]
  - `files` object[]

## Response `200`

OK

- object

## Other responses

- `400`: Error — { error: { code, message } }
- `401`: Error — { error: { code, message } }
- `403`: Error — { error: { code, message } }
- `404`: Error — { error: { code, message } }
- `default`: Error — { error: { code, message, request_id } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/sessions/:id/annotations/post.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/0d435187cd55?raw)
