Skip to main content
DELETE
/
api
/
signals
/
search
/
{id}
Delete a signal search
curl --request DELETE \
  --url https://app.puffle.ai/api/signals/search/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Overview

Deletes one signal_searches row owned by the caller. All rows in signal_search_results for this search are cascade-deleted via FK. This is the per-search delete. To wipe every search at once (clear history), call DELETE /api/signals/search (operation clearSignalSearchHistory). The same path also supports GET (read a search and its results — getSignalSearch) and PATCH (re-filter a completed search with a new filterPromptupdateSignalSearch).

AI agent notes

Irreversible. No soft-delete, no trash can. Cascades to signal_search_results. Confirm with the human before invoking.Idempotency. The endpoint returns 200 whether or not the search existed (Postgres delete is a no-op on a missing row). Safe to retry.Cleanup alternative. If the intent is to clear out old searches in bulk, prefer clearSignalSearchHistory (DELETE on the collection) instead of iterating this endpoint.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Signal search UUID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

Search deleted.

success
enum<boolean>
required
Available options:
true