---
title: "Customer Summary"
method: GET
path: "/api/customer-search/customers/{user_id}/summary"
tags: ["customer-search"]
---

# Customer Summary

`GET /api/customer-search/customers/{user_id}/summary`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/customer-search/customers/{user_id}/summary`
- Auth: none declared

Rooster's few sentences on this customer (issue #4060; Frederick,
2026-10-06: "an AI summary ... Rooster can just take notes of what
happened"). Read after the page, on its own request.

NEVER a wait on Pigeonly or on the model (ISS-3102, 2026-10-26, found by
the p95 budget check): this route used to read the customer, their notes,
their orders and their old notes from Pigeonly in series and then ask a
model, all inside the request. Each Pigeonly read costs 0.7-4.9 s by this
repo's own measurements and Pigeonly works parallel requests one at a time,
so a gather fixes nothing (`docs/runbooks/CUSTOMER_SEARCH_IS_SLOW_OR_SAYS_UNAVAILABLE.md`);
the route measured p95 13 s against its 3 s budget. It now answers the
stored row (`summary.served`, one SELECT) and schedules the refresh after
the answer (`summary.start_refresh`), the shape #3509 gave Today's weekly
read ("a model call never belongs inside a GET", `docs/runbooks/PAGE_SPEED.md`).

ALWAYS 200: `{"summary": null}` when nothing usable is stored (never
summarized yet, or the model is remembered as failing on this customer's
newest activity), never an error, so the card simply is not drawn. Pigeonly
being down no longer fails the route: the refresh fails quietly and the
stored row stands.

## Path parameters

- `user_id` string, uuid, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
