v1

latestOpenAPI 3.0.3Apache 2.02026-07-142201861.5 MB
Replays

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).

get/api/0/organizations/{organization_id_or_slug}/replay-count/

Path parameters

organization_id_or_slugstring required

The ID or slug of the organization the resource belongs to.

Query parameters

environmentstring[]

The name of environments to filter by.

startstring date-time

The start of the period of time for the query, expected in ISO-8601 format. For example, 2001-12-14T12:34:56.7890.

endstring date-time

The end of the period of time for the query, expected in ISO-8601 format. For example, 2001-12-14T12:34:56.7890.

statsPeriodstring

The period of time for the query, will override the start & end parameters, a number followed by one of:

  • d for days
  • h for hours
  • m for minutes
  • s for seconds
  • w for weeks

For example, 24h, to mean query data starting from 24 hours ago to now.

The IDs or slugs of projects to filter by. Project slugs are unique within each organization. Omit this parameter to include all accessible projects. -1 is also accepted to include all accessible projects. For example, the following are valid parameters:

  • /?project=1234&project=56789
  • /?project=android&project=javascript-react
  • /?project=-1
project_id_or_slugstring[]

The legacy project slug filter. Prefer project, which accepts project IDs or slugs. Use $all to include all available projects. For example, the following are valid parameters:

  • /?projectSlug=$all
  • /?projectSlug=android&projectSlug=javascript-react
querystring

Filters results by using query syntax.

Example: query=(transaction:foo AND release:abc) OR (transaction:[bar,baz] AND release:def)

data_source'discover' | 'events' | 'search_issues' | 'transactions'

The data source to query replays from. Defaults to 'discover'.

returnIdsboolean

If true, return issue IDs rather than counts.

Response

object required