Trace deletions

Preview trace deletion

Changed on

Counts the traces a deletion with this selector would delete, without deleting anything. Accepts the same traces selector as createTraceDeletion.

post/v1/projects/{projectSlug}/trace-deletions/preview

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.

Request body

includeDatasetRowsboolean

Also delete dataset rows that were copied from the deleted traces, in every dataset of the organization, including their earlier versions. Defaults to false, which keeps dataset rows. Ignored by previewTraceDeletion.

Response

Number of matching traces

matchedTraceCountinteger required

How many traces a deletion with this selector would delete if it were requested now.

Changes