Intro
With the Annotations API, you can annotate traces with additional information. This is useful if you want to add additional information to a trace, such as a comment or a thumbs up/down reaction.Authentication
To make a call to the Annotations API, you will need to pass through your LangWatch API key in the header asX-Auth-Token
. Your API key can be found on the setup page under settings.
Allowed Methods
GET /api/annotations
- Get a list of annotationsGET /api/annotations/:id
- Get a single annotationDELETE /api/annotations/:id
- Delete a single annotationPATCH /api/annotations/:id
- Update a single annotationGET /api/annotations/trace/:id
- Get the annotations for a single tracePOST /api/annotations/trace/:id
- Create an annotation for a single trace