Skip to content

delete_artifact

Permanently delete an artifact from a Polygraph session by name.

This removes the artifact and ALL of its versions, and cannot be undone. Returns the session's remaining artifacts. Use list_artifacts first if you are unsure of the exact name.

NameTypeRequiredDescription
sessionIdstringyesThe Polygraph session ID, or a supported Polygraph app session URL. Supported URL paths are /s/<session-id> and /orgs/<org-id>/sessions/<session-id>. URL inputs are normalized to the session ID; the MCP always uses the current Polygraph API configuration.
namestringyesThe name of the artifact to delete.