---
title: "Get Activities Statistic"
method: GET
path: "/v1/accounts/{account_id}/environments/{environment_id}/activities_statistics"
tags: ["Activities"]
---

# Get Activities Statistic

`GET /v1/accounts/{account_id}/environments/{environment_id}/activities_statistics`

## Request

- Base URL: `https://api.rivery.io`
- URL: `https://api.rivery.io/v1/accounts/{account_id}/environments/{environment_id}/activities_statistics`
- Auth: HTTP bearer

**Authorization scope:** `activity:list` 
 
 **Get environment's activity statistics.**
****
**The statistics include how many units(RPU) were consumed, and how**
**many runs ended with each status.**

## Path parameters

- `account_id` string, required
- `environment_id` string, required

## Query parameters

- `start_time` string, date-time, required: The start UTC date time. Time format YYYY-MM-DDTHH:MM:SS or YYYY-MM-DDTHH:MM:SS.mmmmmm
- `end_time` string, date-time, required: The end UTC date time. Time format YYYY-MM-DDTHH:MM:SS or YYYY-MM-DDTHH:MM:SS.mmmmmm
- `status` ActivityStatusEnum[], nullable: A list of statuses to filter
- `group_id` string[], nullable: The ID of the group to filter
- `is_scheduled` 'true' | 'false': A flag that indicates whether the river is scheduled. If not set then activities of all rivers will be returned
- `search` string: Get statistics for rivers that has the search query in their name
- `river_type` union[], nullable: The river type
  - union
    - 'src_to_trgt' | 'src_to_fz' | 'actions' | 'logic': All of the INTERNAL river types Customers only familiar with river_type src_to_trgt, actions and logic. Internally we have another river type called src_to_fz.
    - 'source_to_target' | 'actions' | 'logic' | 'connector_executor': All of the EXTERNAL river types

## Response `200`

Successful Response

- ActivityStatisticResponse: Activity statistics response
  - `account_id` string, required
  - `environment_id` string, required
  - `total_units` number, required: Total RPU (units)
  - `total_rpu` number, required: Total RPU
  - `running` integer, required
  - `canceled` integer, required
  - `pending` integer, required
  - `failed` integer, required
  - `succeeded` integer, required
  - `skipped` integer, required

## Other responses

- `422`: Validation Error

## Changes

> 773 revisions in range; 2 not diffed.

- **2026-10-24** `00b90942c8d6`: 1 info
  - endpoint added
- **2026-10-24** `0a8241f415c4`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/rivery/apis/boomi-data-integration-api/changes/v1/accounts/:account_id/environments/:environment_id/activities_statistics/get.md)

---

[API](https://skmtc.dev/rivery/apis/boomi-data-integration-api.md) - [All operations](https://skmtc.dev/rivery/apis/boomi-data-integration-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rivery/apis/boomi-data-integration-api/revisions/0a24af11644f?raw)
