---
title: "Get Counts"
method: GET
path: "/trips/{trip_id}/items/counts"
tags: ["comments"]
---

# Get Counts

`GET /trips/{trip_id}/items/counts`

## Path parameters

- `trip_id` string, uuid, required

## Response `200`

Successful Response

- CountsOut — Nested map: scope → target_id → {comments, likes, preview_comments}.
  - `counts` object, required
  - `liked_target_ids` object, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/stardrift/apis/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stardrift/fastapi/revisions/00746572572a/schema)
