Skip to main content
DELETE
/
v1
/
projects
/
{project_identifier}
/
span_annotations
Delete span annotations in a project that match the supplied filter.
curl --request DELETE \
  --url https://api.example.com/v1/projects/{project_identifier}/span_annotations
"<string>"

Documentation Index

Fetch the complete documentation index at: https://arizeai-433a7140.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

project_identifier
string
required

The project identifier: either project ID or project name. If using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters.

Query Parameters

name
string | null

Optional annotation name. When provided, must be non-empty and narrows the delete to annotations of that name.

Minimum string length: 1
identifier
string | null

Optional annotation identifier. When provided, must be non-empty and narrows the delete to annotations with that identifier.

Minimum string length: 1
annotator_kind
enum<string> | null

Optional annotator kind. When provided, narrows the delete to annotations produced by this annotator kind.

Available options:
LLM,
CODE,
HUMAN
start_time
string<date-time> | null

Optional inclusive lower bound on created_at (>=). Naive datetimes are interpreted as UTC.

end_time
string<date-time> | null

Optional exclusive upper bound on created_at (<). Naive datetimes are interpreted as UTC.

delete_all
boolean
default:false

Opt-in flag that authorizes the request without a bounded [start_time, end_time) time window. When false (default) or absent, the request must supply both start_time AND end_time to bound the delete. When true, the time-range bound is waived and any other filters (name, identifier, annotator_kind) still narrow the delete within the project — e.g. delete_all=true&name=X deletes all annotations named X regardless of time.

Response

Successful Response