---
title: "Get spans count on previous day grouped by workspace, project and user"
method: GET
path: "/v1/internal/usage/workspace-span-counts-breakdown"
tags: ["System usage"]
---

# Get spans count on previous day grouped by workspace, project and user

`GET /v1/internal/usage/workspace-span-counts-breakdown`

Get spans count on previous day grouped by workspace, project and user

## Response `200`

UsageByWorkspaceProjectUserResponse resource

- UsageByWorkspaceProjectUserResponse
  - `breakdown` WorkspaceProjectUserCount[]
    - `workspace_id` string
    - `project_id` string, uuid
    - `user` string
    - `count` integer

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
