---
title: "Get Total Account Metrics for An Organization"
method: GET
path: "/orgs/{org_id}/flows/account_metrics"
tags: ["Metrics"]
---

# Get Total Account Metrics for An Organization

`GET /orgs/{org_id}/flows/account_metrics`

## Request

- Base URL: `https://dataops.nexla.io/nexla-api`
- URL: `https://dataops.nexla.io/nexla-api/orgs/{org_id}/flows/account_metrics`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nexla/apis/nexla-rest-api/docs/orgs/:org_id/flows/account_metrics/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves total account utilization metrics for an organization. The result consists of aggregated information about records processed within the specified date range by all resources owned by users in the organization.

## Path parameters

- `org_id` integer, required

## Query parameters

- `from` string, date-time, required
- `to` string, date-time

## Headers

- `Accept` 'application/vnd.nexla.api.v1+json' | 'application/json': Setting to `application/vnd.nexla.api.v1+json` is recommended.

## Response `200`

Success

- object
  - `status` integer: Status of the report request. This must be `200` or `Ok` for the metrics object in the response to be considered valid.
  - `metrics` object[]
    - `data` object
      - `records` integer: The total number of records processed during the specified time range.
      - `size` integer: The total volume of records processed (in bytes) during the specified time range.
    - `start_time` string, date-time
    - `end_time` string, date-time

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found error

---

[API](https://skmtc.dev/nexla/apis/nexla-rest-api.md) - [All operations](https://skmtc.dev/nexla/apis/nexla-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nexla/apis/nexla-rest-api/revisions/ef02be92fe7b?raw)
