curl --request DELETE \
--url https://api.example.com/v1/projects/{project_identifier}/session_annotations"<string>"Hard-delete session annotations within the named project that match the supplied filter.
start_time AND end_time
to bound the delete to a [start_time, end_time) time window,
OR set delete_all=true to acknowledge an unbounded sweep. A request
that satisfies neither is rejected with 422.name, identifier, and annotator_kind are optional narrowing
filters; on their own they do NOT authorize the request — they only
narrow within an already-authorized request (bounded time range or
delete_all=true).name and identifier,
when present, must be non-empty.start_time is inclusive (>=); end_time is exclusive
(<). When both are supplied, start_time must be strictly earlier
than end_time (else 422). A half-bounded range (only one of
the two) does NOT satisfy the gate and is rejected unless
delete_all=true is also set. Naive datetimes are interpreted as UTC.user_id == current_user.id); admins delete all matching
rows.curl --request DELETE \
--url https://api.example.com/v1/projects/{project_identifier}/session_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.
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.
Optional annotation name. When provided, must be non-empty and narrows the delete to annotations of that name.
1Optional annotation identifier. When provided, must be non-empty and narrows the delete to annotations with that identifier.
1Optional annotator kind. When provided, narrows the delete to annotations produced by this annotator kind.
LLM, CODE, HUMAN Optional inclusive lower bound on created_at (>=). Naive datetimes are interpreted as UTC.
Optional exclusive upper bound on created_at (<). Naive datetimes are interpreted as UTC.
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.
Successful Response
Was this page helpful?