v1

latestOpenAPI 3.0.3Apache 2.02026-07-142201861.5 MB
Profiling

Retrieve Profile Chunks for an Organization

Retrieve continuous profiling data for a profiler over a time range.

Exactly one project must be specified via the project query parameter.

Requires continuous profiling to be enabled for the organization.

get/api/0/organizations/{organization_id_or_slug}/profiling/chunks/

Path parameters

organization_id_or_slugstring required

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

Query parameters

projectstring required

The ID or slug of the project to fetch chunks for. Exactly one project must be specified.

profiler_idstring required

The continuous-profiler ID to fetch chunks for.

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.

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.

Response

object required