customer-search

Customer Summary

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.

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)
  • Auth
    none declared

Path parameters

user_id, string uuid required

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 251 revisions of this API.