Note that this deletes the entire prompt_slug, including all associated prompt_template versions.Deleting a prompt is irreversible. Make sure you want to delete the prompt before using this endpoint.
Delete a Prompt on Athina Playground
To delete a prompt in Athina:
-
Open https://app.athina.ai.ai/prompt
-
Click on the three dots next to the prompt you want to delete in the sidebar.
-
Click
Delete and confirm in the modal.
Delete a Prompt via API
from athina_client.prompt import Slug
Slug.delete(slug="test-slug")
curl
--location
--request DELETE 'https://app.athina.ai/api/v1/prompt/slug/[PROMPT_SLUG]' \
--header 'athina-api-key: ATHINA_API_KEY'