Delete all pull events matching filters
POST /v1/pull-endpoints/{id}/events/delete-all
Soft-delete pull events matching the specified filters for the given pull endpoint.
Processes in chunks for reliability. Returns the count and IDs of deleted events.
On error, the response includes an error object: DELETE_FAILED if no rows were
deleted, or PARTIAL_DELETE_FAILURE if some rows were committed before the error.
Maximum 1000 events per request.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Pull endpoint identifier (UUIDv7)
Example
01935abc-def0-7123-4567-890abcdef012Query Parameters
Section titled “Query Parameters ”Comma-separated list of statuses to match (stored, fetched, delivered).
Exact event type to match.
Only delete events received at or after this time (RFC 3339).
Only delete events received before this time (RFC 3339).
Maximum events to delete (1–1000, default 1000).
Responses
Section titled “ Responses ”Delete-all results
object
object
Number of events deleted
IDs of deleted events
Present only on partial failure
object
object
Unique identifier for this request (useful for support)
Example
req_xyz123Example
{ "data": { "deleted": 42, "deleted_event_ids": [ "01935abc-def0-7123-4567-890abcdef012" ] }, "meta": { "request_id": "req_xyz123" }}Invalid request
object
object
Machine-readable error code
Example
INVALID_REQUESTHuman-readable error message
Example
endpoint must be a valid HTTPS URLobject
Unique identifier for this request (useful for support)
Example
req_xyz123Examples
Endpoint not found
{ "error": { "code": "ENDPOINT_NOT_FOUND", "message": "endpoint not found" }, "meta": { "request_id": "req_xyz123" }}Invalid endpoint ID format
{ "error": { "code": "INVALID_REQUEST", "message": "endpoint_id must be in format ep_xxx" }, "meta": { "request_id": "req_xyz123" }}Invalid payload
{ "error": { "code": "INVALID_REQUEST", "message": "payload must be valid JSON" }, "meta": { "request_id": "req_xyz123" }}Invalid headers
{ "error": { "code": "INVALID_HEADERS", "message": "header 'Host' is forbidden and cannot be overridden" }, "meta": { "request_id": "req_xyz123" }}Unauthorized - Invalid or missing API key
object
object
Machine-readable error code
Example
INVALID_REQUESTHuman-readable error message
Example
endpoint must be a valid HTTPS URLobject
Unique identifier for this request (useful for support)
Example
req_xyz123Example
{ "error": { "code": "UNAUTHORIZED", "message": "Invalid or missing API key" }, "meta": { "request_id": "req_xyz123" }}Resource not found
object
object
Machine-readable error code
Example
INVALID_REQUESTHuman-readable error message
Example
endpoint must be a valid HTTPS URLobject
Unique identifier for this request (useful for support)
Example
req_xyz123Example
{ "error": { "code": "NOT_FOUND", "message": "Message not found" }, "meta": { "request_id": "req_xyz123" }}Internal server error
object
object
Machine-readable error code
Example
INVALID_REQUESTHuman-readable error message
Example
endpoint must be a valid HTTPS URLobject
Unique identifier for this request (useful for support)
Example
req_xyz123Example
{ "error": { "code": "INTERNAL_ERROR", "message": "An internal error occurred" }, "meta": { "request_id": "req_xyz123" }}Enter your credentials to populate code examples throughout the docs.