Skip to main content

Cancel Query

DELETE 

/v2/auto/queries/:queryId

Cancel an active query.

Cost

Free.

Auth

Required headers:

x-elfa-api-key: <api_key>
x-elfa-timestamp: <unix_seconds>
x-elfa-signature: <hex_hmac_sha256>

Signing payload:

timestamp + method + path + body

For this route, sign with path = "/queries/{queryId}" and body = "".

Request Example

Path parameter:

  • queryId (string)

Response Example (200)

{
"id": "q_123",
"status": "cancelled",
"cancelledAt": "2026-04-01T12:00:00.000Z"
}

Best practice: keep cancellation idempotent in your client workflow; treat repeated cancel attempts as safe no-op behavior.

Request

Responses

Ok