---
title: "Get enterprise consumption data"
method: GET
path: "/enterprise/consumption"
tags: ["Enterprise"]
---

# Get enterprise consumption data

`GET /enterprise/consumption`

Retrieve detailed consumption data for an enterprise organization.
Data is filtered by start and end dates in ISO format.

## Query parameters

- `start_date` string, date, required
- `end_date` string, date, required

## Response `200`

Enterprise consumption data

- EnterpriseConsumptionResponse — Enterprise consumption data response
  - `sessions` ConsumptionSession[], required — List of sessions with consumption data
    - `user_name` string, required — Name of the user who created the session
    - `user_email` string, email, required — Email address of the user
    - `session_name` string, required — Name/title of the session
    - `created_at` string, date-time, required — Session creation timestamp in ISO format
    - `acu_used` number, float, required — Amount of ACUs (Agent Compute Units) consumed
    - `url` string, uri, required — URL to view the session
    - `org_id` string, required — Organization identifier
    - `org_name` string, required — Organization name
    - `pull_requests` ConsumptionPullRequest[], required — List of pull requests created during the session
      - `pr_url` string, uri, required — URL of the pull request
      - `pr_status` 'open' | 'closed' | 'merged', required — Status of the pull request
  - `cycle` ConsumptionCycle, required — Billing cycle information
    - `start` string, date, required — Start date of the billing cycle
    - `end` string, date, required — End date of the billing cycle

## Other responses

- `400` — Bad Request - Invalid date format
- `401` — Unauthorized - Invalid or missing API key
- `403` — Forbidden - Consumption API not enabled
- `404` — Resource not found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/devin/apis/devin-external-api.md) · [All operations](https://skmtc.dev/devin/apis/devin-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/devin/devin-external-api/revisions/bb0fabac5cbe/schema)
