---
title: "Get usage by workspace"
method: GET
path: "/v3/workspaces/{identifier}/usage"
tags: ["Workspaces"]
deprecated: true
---

# Get usage by workspace

`GET /v3/workspaces/{identifier}/usage`

> **Deprecated.**

Return monthly credits consumption of a workspace.
Deprecated: use `GET /v3/usage?organization={id}&workspace={id}` instead. The new endpoint returns a unified daily series and supports the same workspace scoping along with organization- and document-type-level reporting.

## Path parameters

- `identifier` string, required — Uniquely identify a workspace.

## Query parameters

- `start` string
- `end` string

## Response `200`

Monthly credits consumption of a workspace.

- UsageByWorkspace[] — Monthly credits consumption
  - `month` string, required — Month of the usage
  - `count` integer, required — Usage count

## Other responses

- `400` — Bad request. If it is a validation error will contain a list of each invalid field
- `401` — Authorisation error
- `default` — UnexpectedError

---

[API](https://skmtc.net/affinda/apis/affinda-api-2.md) · [All operations](https://skmtc.net/affinda/apis/affinda-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/affinda/affinda-api-2/versions/6772e50cb58e/schema)
