---
title: "Report what the active organization's deployments consumed over a date range, per deployment and per project and day"
method: GET
path: "/v1/deployment-spend"
tags: ["Projects"]
---

# Report what the active organization's deployments consumed over a date range, per deployment and per project and day

`GET /v1/deployment-spend`

## Request

- Base URL: `https://console-api-sandbox.akash.network`
- URL: `https://console-api-sandbox.akash.network/v1/deployment-spend`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

## Query parameters

- `startDate` string, date: First day of the range (YYYY-MM-DD, UTC), inclusive. Defaults to the first day of endDate's month
- `endDate` string, date: Last day of the range (YYYY-MM-DD, UTC), inclusive. Defaults to today

## Headers

- `x-organization-id` string
- `x-project-id` string, uuid

## Response `200`

Spend of the deployments in the projects the caller can see, with the deployments filed in no project when the caller can see the whole organization

- object
  - `data` object, required
    - `startDate` string, required
    - `endDate` string, required
    - `projects` object[], required: The projects the caller can see, and deleted ones that have spend in the range
      - `projectId` string, uuid, required
      - `name` string, required
      - `isDefault` boolean, required
      - `isDeleted` boolean, required
    - `days` object[], required: Each project's spend per day, leaving out days it spent nothing
      - `date` string, required: The UTC day (YYYY-MM-DD)
      - `projectId` string, uuid, nullable, required: Null for the deployments filed in no project
      - `consumedUsd` number, required: What the project's leases cost that day, including costs not settled yet
    - `deployments` object[], required: The deployments that held a lease in the range, most spent first
      - `dseq` string, required
      - `name` string, nullable, required
      - `projectId` string, uuid, nullable, required: Null for a deployment filed in no project
      - `consumedUsd` number, required: What the deployment's leases cost over the range, including costs not settled yet
      - `hours` number, required: How long the deployment held a lease over the range
      - `gpuHours` number, required: Each of the deployment's leases' hours over the range times its GPU count, summed
      - `gpuModels` string[], required: The GPU models the deployment's leases asked for, leaving out a request that accepts any model or several

## Other responses

- `400`: Dates must be YYYY-MM-DD, startDate must not be after endDate and the range cannot exceed 366 days
- `401`: Unauthorized

## Changes

- **2026-10-17** `a0b7ac1c7548`: 2 info
  - added the required property `data/deployments/items/gpuHours` to the response with the `200` status
  - added the required property `data/deployments/items/gpuModels` to the response with the `200` status
- **2026-10-16** `2f860c78095e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/akash-network/apis/akash-network-console-api/changes/v1/deployment-spend/get.md)

---

[API](https://skmtc.dev/akash-network/apis/akash-network-console-api.md) - [All operations](https://skmtc.dev/akash-network/apis/akash-network-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/akash-network/apis/akash-network-console-api/revisions/b959efa6d493?raw)
