Documentation Index
Fetch the complete documentation index at: https://docs.get-spotlight.com/llms.txt
Use this file to discover all available pages before exploring further.
Permanently deletes a topic and all prompts it contains. Use with care — there is no undo.
Path parameters
Request
curl -s -X DELETE \
-H "x-spotlight-api-key: YOUR_API_KEY" \
"https://app.get-spotlight.com/api/v1/topics/TOPIC_ID"
Response
{
"deleted": true,
"remainingSlots": 100
}
This operation deletes all prompts under the topic. Historical analysis results that referenced those prompts are not deleted, but the prompts themselves will no longer be returned in future API calls.