---
title: "Get labor breakdown for stacked bar chart"
method: GET
path: "/Metrics/labor-breakdown"
tags: ["Metrics"]
---

# Get labor breakdown for stacked bar chart

`GET /Metrics/labor-breakdown`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/Metrics/labor-breakdown`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/Metrics/labor-breakdown/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `period` string

## Response `200`

OK

- BusinessMetricsResponseDtoOfLaborBreakdownChartDto
  - `success` boolean
  - `data` LaborBreakdownChartDto
    - `weeks` LaborWeekDto[]
      - `week` string
      - `admin` union
        - number, double
        - string, double
      - `tech` union
        - number, double
        - string, double
      - `dvm` union
        - number, double
        - string, double
      - `costPercent` union: Null unless every role that worked that week has a configured hourly rate.
        - number, double
        - string, double
  - `error` string, nullable
  - `message` string, nullable

## Other responses

- `500`: Internal Server Error

## Changes

- **2026-09-17** `d4ae30be0619`: 3 breaking
  - the response property `data/oneOf[#/components/schemas/LaborBreakdownChartDto]/weeks/items/costPercent` became nullable for the status `200` (media type: text/plain)
  - the response property `data/oneOf[#/components/schemas/LaborBreakdownChartDto]/weeks/items/costPercent` became nullable for the status `200` (media type: application/json)
  - the response property `data/oneOf[#/components/schemas/LaborBreakdownChartDto]/weeks/items/costPercent` became nullable for the status `200` (media type: text/json)

[Operation history](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/changes/Metrics/labor-breakdown/get.md)

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
