Retrieve a Count of Replays for a Given Issue or Transaction
Return a count of replays for a list of issue or transaction IDs.
The query parameter is required. It is a search query that includes exactly one of issue.id, transaction, or replay_id (string or list of strings).
Path Parameters
organization_id_or_slug(string)REQUIREDThe ID or slug of the organization the resource belongs to.
Query Parameters:
environment(array(string))The name of environments to filter by.
start(string)The start of the period of time for the query, expected in ISO-8601 format. For example,
2001-12-14T12:34:56.7890.end(string)The end of the period of time for the query, expected in ISO-8601 format. For example,
2001-12-14T12:34:56.7890.statsPeriod(string)The period of time for the query, will override the start & end parameters, a number followed by one of:
dfor dayshfor hoursmfor minutessfor secondswfor weeks
For example,
24h, to mean query data starting from 24 hours ago to now.project_id_or_slug(array(string))The project slugs to filter by. Use
$allto include all available projects. For example, the following are valid parameters:/?projectSlug=$all/?projectSlug=android&projectSlug=javascript-react
query(string)Filters results by using query syntax.
Example:
query=(transaction:foo AND release:abc) OR (transaction:[bar,baz] AND release:def)
Scopes
<auth_token> requires one of the following scopes:org:adminorg:readorg:write
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/replay-count/ \ -H 'Authorization: Bearer <auth_token>'
Copied{ "1": 9, "2": 0, "5": 0, "9": 1, "10": 29 }