Documentation Index
Fetch the complete documentation index at: https://genui.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
Delete an artifact. This is a soft delete - the artifact is marked as deleted but can be restored within 30 days.
Request
The artifact ID to delete
Set to true for permanent deletion (cannot be undone)
Response
{
"id": "art_abc123",
"status": "deleted",
"deletedAt": "2024-01-16T14:30:00Z"
}
Code Examples
curl -X DELETE https://genui.sh/api/artifacts/art_abc123 \
-H "Authorization: Bearer $GENUI_API_KEY"
Permanent Deletion
To permanently delete an artifact without the ability to restore:
curl -X DELETE "https://genui.sh/api/artifacts/art_abc123?permanent=true" \
-H "Authorization: Bearer $GENUI_API_KEY"
Permanent deletion cannot be undone. The artifact and all associated data will be immediately removed.