---
title: "Get trend data for sparkline charts"
method: GET
path: "/Metrics/trends"
tags: ["Metrics"]
---

# Get trend data for sparkline charts

`GET /Metrics/trends`

## Query parameters

- `period` string

## Response `200`

OK

- BusinessMetricsResponseDtoOfTrendsDto
  - `success` boolean
  - `data` TrendsDto
    - `revenue` TrendPointDto[]
      - `label` string
      - `value` union
        - number, double
        - string, double
    - `appointments` TrendPointDto[]
      - `label` string
      - `value` union
        - number, double
        - string, double
  - `error` string, nullable
  - `message` string, nullable

## Other responses

- `500` — Internal Server Error

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/revisions/a905bde4e796/schema)
