Yes, you can delete custom annotations from a project in Arize Phoenix. The UI allows users to delete span annotations via the feedback/annotations tab, and this is also supported by the backend API through a mutation for deleting span annotations by their IDs. However, certain reserved annotation types like "note" may not be deletable, and this restriction is not configurable by users. Annotation configs (the rubric/structure) can also be deleted from a project via GraphQL actions, allowing you to disassociate them from the project as needed.
For more details, see <https://docs.arize.com/phoenix/tracing/how-to-tracing/feedback-and-annotations/annotating-in-the-ui#S%3A3|Annotating in the UI>, <https://github.com/Arize-ai/phoenix/issues/7409|GitHub issue #7409>, and <https://github.com/Arize-ai/phoenix/blob/main/src/phoenix/server/api/mutations/span_annotations_mutations.py|span_annotations_mutations.py>. Would you like a step-by-step guide or code example for deleting annotations?
Sources:
- <https://docs.arize.com/phoenix/tracing/how-to-tracing/feedback-and-annotations/annotating-in-the-ui#S%3A3|Annotating in the UI>
- <https://github.com/Arize-ai/phoenix/issues/7409|GitHub issue #7409>
- <https://github.com/Arize-ai/phoenix/blob/main/src/phoenix/server/api/mutations/span_annotations_mutations.py|span_annotations_mutations.py>
- <https://github.com/Arize-ai/phoenix/issues/7000|GitHub issue #7000>
- <https://github.com/Arize-ai/phoenix/issues/6815|GitHub issue #6815>