Delete a terminal search
Deletes a job when its current state is eligible for deletion. Jobs that are still running return a conflict. Requires the searches:write scope when called with a scoped key.
/v1/searches/{id}Deletes a job when its current state is eligible for deletion. Jobs that are still running return a conflict. Requires the searches:write scope when called with a scoped key.
Pass Authorization: Bearer mapleads_xxx.
In: header
Path Parameters
Search identifier.
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/searches/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "deleted": true}Get a search GET
Returns the current job state and customer-facing progress counters. Requires the `searches:read` scope when called with a scoped key.
Cancel a search POST
Accepts a cancellation request for a cancellable job. Settlement is asynchronous: the finalize worker keeps and charges for results already produced, refunds the unused reservation, and then changes the job status to `canceled`. Poll the job until that terminal status is visible. Requires the `searches:write` scope when called with a scoped key.