---
title: "Get Costs By Adapter"
method: GET
path: "/costs/by-adapter"
---

# Get Costs By Adapter

`GET /costs/by-adapter`

Per-adapter cost breakdown for the web GUI Costs tab.

Returns the same array shape as ``GET /costs/by-tag`` (default mode);
exists as a clearer alias so the frontend doesn't have to know about
the legacy "by-tag" naming.

## Query parameters

- `hours` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/sipyourdrink-ltd/apis/bernstein-task-server.md) · [All operations](https://skmtc.net/sipyourdrink-ltd/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sipyourdrink-ltd/bernstein-task-server/revisions/86f514b4e920/schema)
