---
title: "Returns billing costs aggregated per organization, ranked by cost."
method: GET
path: "/billing/costs/organizations"
tags: ["Billing"]
---

# Returns billing costs aggregated per organization, ranked by cost.

`GET /billing/costs/organizations`

## Query parameters

- `startDate` string, date-time
- `endDate` string, date-time
- `page` integer
- `pageSize` integer
- `includeNonBillable` boolean

## Response `200`

OK

- QueryCostsByOrganizationEndpointPagedResultOfOutput
  - `total` integer, required
  - `page` integer, required
  - `pageSize` integer, required
  - `items` QueryCostsByOrganizationEndpointOutput[], required
    - `organizationOwnerId` string, uuid, required — The organization owner identifier.
    - `organizationName` string, required — The organization name.
    - `grossCost` number, double, required — The gross cost for this organization (before discount).
    - `discount` number, double, required — The discount for this organization.
    - `netCost` number, double, required — The net cost for this organization (after discount).
    - `responseCount` integer, required — The total number of responses for this organization.
  - `totalPages` integer

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

[API](https://skmtc.net/rapidata/apis/rapidata-api.md) · [All operations](https://skmtc.net/rapidata/apis/rapidata-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rapidata/rapidata-api/revisions/fdb89a6eb2fb/schema)
