---
search:
  tags:
    - Usage
    - GET
seo:
  description: >-
    Returns what an organisation used hour by hour and what each hour cost in US
    dollars,… Reference for the GET /_luna/orgs/{org}/usage endpoint in the Luna
    API.
sidebar:
  label: Get an organisation's usage
  badge: GET
title: Get an organisation's usage
type: openapi-operation
---
Returns what an organisation used hour by hour and what each hour cost in US dollars, with the totals and a line for each package. Only hours that have ended are here. For the month as it stands, read the billing summary.

`GET /_luna/orgs/{org}/usage`

**Responses**

- `200` — The organisation's usage.
- `default` — The request failed. The status says how and \`error.message\` says why.

Response example, 200:

```json
{
  "organisation": "string",
  "hours": [
    {
      "hour": 0,
      "startMs": 0,
      "usage": {
        "property1": 0,
        "property2": 0
      },
      "costUsd": 0.1
    }
  ],
  "totals": {
    "property1": 0,
    "property2": 0
  },
  "costUsd": 0.1,
  "packages": {
    "property1": {
      "usage": {
        "property1": 0,
        "property2": 0
      },
      "costUsd": 0.1
    },
    "property2": {
      "usage": {
        "property1": 0,
        "property2": 0
      },
      "costUsd": 0.1
    }
  }
}
```
