Send annotations

Changed on

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.

post/sessions/{id}/annotations

Request

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

Path parameters

idstring required

Session id.

Request body

selectionsobject[]
filesobject[]

Response

OK

object required

Changes