Return a Count of Replays
Return a count of replays for the given issue or transaction id.
Path Parameters
organization_id_or_slug
(string)REQUIREDThe id or slug of the organization the resource belongs to.
Query Parameters:
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
.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
.statsPeriod
(string)The period of time for the query, will override the start & end parameters, a number followed by one of:
d
for daysh
for hoursm
for minutess
for secondsw
for weeks
For example
24h
, to mean query data starting from 24 hours ago to now.project
(array(integer))The IDs of projects to filter by.
-1
means all available projects. For example the following are valid parameters:/?project=1234&project=56789
/?project=-1
query
(string)The search filter for your query, read more about query syntax here.
example:
query=(transaction:foo AND release:abc) OR (transaction:[bar,baz] AND release:def)
Scopes
<auth_token>
requires one of the following scopes:org:admin
org:read
org:write
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/replay-count/ \ -H 'Authorization: Bearer <auth_token>'
{
"1": 9,
"2": 0,
"5": 0,
"9": 1,
"10": 29
}