List annotations for one event
const url = 'https://example.com/api/v1/timeline/annotations?source=sync&eventId=1';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/timeline/annotations?source=sync&eventId=1'Returns every annotation attached to a single timeline event (a thread), oldest first.
Orphaned annotations (whose source event no longer exists) remain reachable here by explicit
source+eventId but never surface in the merged feed.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”The event source a timeline event originates from.
Responses
Section titled “Responses”Annotation thread for the event
A user note attached to a single timeline event.
object
The event source a timeline event originates from.
Example
[ { "source": "sync" }]Missing or invalid source/eventId
object
Error message
Stable machine-readable code present on 5xx responses; error is a fixed user-safe message, raw detail is logged server-side only
Example
{ "code": "cleanup_failed"}Failed to list annotations
object
Error message
Stable machine-readable code present on 5xx responses; error is a fixed user-safe message, raw detail is logged server-side only
Example
{ "code": "cleanup_failed"}