Events

Count events matching batch replay filters

This endpoint returns how many events would be affected by a batch replay with the given filters.

get/v1/projects/{projectID}/events/countbatchreplayevents

Path parameters

projectIDstring required

Project ID

Query parameters

bodystring

URL-encoded JSON object matched against the event payload. Combined with query as AND when both are set.

direction'next' | 'prev'
endDatestring

The end date

endpointIdstring[]

A list of endpoint ids to filter by

idempotencyKeystring

IdempotencyKey to filter by

next_page_cursorstring

A pagination cursor to fetch the next page of a list

perPageinteger

The number of items to return per page

prev_page_cursorstring

A pagination cursor to fetch the previous page of a list

querystring

Matches event id prefix, idempotency key, event type, and source name. A JSON object uses payload containment, same as body. Text plus JSON ANDs both.

sortstring

Sort order, values are ASC or DESC, defaults to DESC

sourceIdstring[]

A list of Source IDs to filter the events by.

startDatestring

The start date

Response

OK

messagestring
statusboolean

Changes

Changed in 3 of the 69 revisions of this API.65

    • added the new optional query request parameter body

      new-optional-request-parameter

  • v3bae289777c9163See the full diff
    • the response property allOf[subschema #2]/data became nullable for the status 400

      response-property-became-nullable

    • the response property allOf[subschema #2]/data became nullable for the status 401

      response-property-became-nullable

    • the response property allOf[subschema #2]/data became nullable for the status 404

      response-property-became-nullable

    • the allOf[subschema #2]/data response's property type/format changed from object/ to / for status 400

      response-property-type-changed

    • the allOf[subschema #2]/data response's property type/format changed from object/ to / for status 401

      response-property-type-changed

    • the allOf[subschema #2]/data response's property type/format changed from object/ to / for status 404

      response-property-type-changed

    • added handlers.Stub to the allOf[subschema #2]/data response property allOf list for the response status 400

      response-property-all-of-added

    • added handlers.Stub to the allOf[subschema #2]/data response property allOf list for the response status 401

      response-property-all-of-added

    • added handlers.Stub to the allOf[subschema #2]/data response property allOf list for the response status 404

      response-property-all-of-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added