Traces

List trace annotations

Changed on

Returns a cursor-paginated page of annotations pinned to the trace, including both published annotations and drafts.

get/v1/projects/{projectSlug}/traces/{traceId}/annotations

Request

  • Base URL
    https://api.latitude.so
  • Auth
    HTTP bearer

Path parameters

projectSlugstring required

Project slug (human-readable identifier)

Project slug (human-readable identifier). The CLI can also read this from the LATITUDE_PROJECT_SLUG environment variable.

traceIdstring required

32-character trace identifier.

Query parameters

cursorstring

Opaque cursor returned in a previous response's nextCursor. Omit on the first page.

limitinteger

Page size. Defaults to 50; max 200.

Response

Annotations of the trace

nextCursorstring nullable required

Opaque cursor for fetching the next page. null when there are no more pages. Pass it back in cursor to continue.

hasMoreboolean required

true when there is at least one more page after this one.

Changes

    • breaking

      removed the required property // from the response with the status

    • info

      added the required property // to the response with the status

    • info

      endpoint added