Activity Data API
Export activity and API usage data.
Picking a time range
Endpoints
Exports your organization's activity data for a time range.
The job runs asynchronously — poll
GET /activity-data-jobs/{jobId}
until status is success, then use the returned download URLs.
Note this endpoint lives on the accounts host, not on your regional API
base URL, and there is no /v3 in the path.
Requires the Admin or Superadmin role.
An API Access Token or an OAuth Access Token, sent as
Authorization: Bearer <token>.
Start of the range. Must be after your account was created.
End of the range. Must be after startTime, and can't be in the
future or cover data that isn't ready yet. The range must be
under 60 days.
The job was created.
The request is malformed or a parameter failed validation.
The token is missing, malformed or expired.
You aren't an admin, or activity data isn't available for your account.
Returns the state of an activity data job. When status is success the
response includes the download URLs and their expiry.
An API Access Token or an OAuth Access Token, sent as
Authorization: Bearer <token>.
The job identifier.
e38163e9-37f3-4269-b400-c7b160325bceThe job.
An activity data export job. downloadUrls and
downloadUrlsExpirationDate are only present when status is success;
errorMessage only when it is failure.
The request is malformed or a parameter failed validation.
The token is missing, malformed or expired.
The token doesn't grant access to this resource.
The resource doesn't exist.
Cancels a job that is still pending or running. Cancelling a finished
job returns 400.
An API Access Token or an OAuth Access Token, sent as
Authorization: Bearer <token>.
The job identifier.
e38163e9-37f3-4269-b400-c7b160325bceThe cancelled job.
An activity data export job. downloadUrls and
downloadUrlsExpirationDate are only present when status is success;
errorMessage only when it is failure.
The job already finished and can't be cancelled.
The token is missing, malformed or expired.
The token doesn't grant access to this resource.
The resource doesn't exist.
Last updated
Was this helpful?
