# POST /reports/find

**Resource:** [Reports](./reports.md)  
**MCP tool:** `find_records`  
**Scopes:** _none_  
**Write operation:** no

List the records that answer a "which" question, ranked, in one call: the biggest open opportunities, the oldest unpaid invoices, overdue tasks soonest first, what was won this week, leads that came in this month. Same sources, filters and calendar periods as count_records, plus sort, order, limit (up to 50) and offset for the next page. Returns each record with a link to it in the app, the true total that match, and a ready summary such as "Showing 5 of 41 opportunities." Use it instead of a list_* tool whenever the answer needs ranking or a filter across the whole list: list tools return one page in their own order. Free read; same engine as the reporting tables. Opportunities leave out archived ones and pipelines excluded from lead reporting unless you include them.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `source` | body | string | yes | What to list: "deals" (opportunities), "tasks", "invoices", "activities", "bookings", "stage_changes" (card moves), "referrals", "work_orders", "emails", "voice_agents" or "calculator_results" (the latest calculator run on each opportunity; its results are cf_<result key> fields). list_report_sources lists every source and its fields. |
| `filters` | body | array | no | Optional; every filter must match. Same shape as count_records: { "field", "operator", "value" } with operator eq, neq, gt, gte, lt, lte, contains, like, is_null or is_not_null, or { "field", "operator": "in" or "not_in", "values": [...] }. Open opportunities: { "field": "status", "operator": "eq", "value": "open" }. Overdue tasks: { "field": "is_overdue", "operator": "eq", "value": true }. Mine: { "field": "assigned_user_id", "operator": "eq", "value": "{{current_user_id}}" } (tasks use assignee_id). |
| `sort` | body | string | no | The field to rank by, e.g. "value" for the biggest opportunities, "deal_created_at" for the newest or oldest, "due_date" for tasks, "amount_due" or "days_overdue" for invoices. Leave out for the usual order of that source. |
| `order` | body | string | no | "desc" (default) is biggest, newest or latest first; "asc" is smallest, oldest or soonest first. Empty values always come last. |
| `limit` | body | number | no | How many records to return, 1 to 50 (default 10). The total matching is always returned beside them. |
| `offset` | body | number | no | How many records to skip, for reading a long list a page at a time: 0 (default) is the first page; pass the next_offset from the previous answer to get the next page. Keep the same filters, sort and limit between pages. |
| `fields` | body | array | no | Extra fields to return on each record, beyond the usual few (any field from list_report_sources, custom fields as cf_<id>). |
| `period` | body | string | no | A calendar window on date_field, in the workspace timezone. Weeks start on Monday and this_week includes today. |
| `date_field` | body | string | no | The date the period or date range applies to. Defaults: opportunities deal_created_at (won_at for won, lost_at for lost), tasks due_date, invoices issue_date, activities activity_created_at, bookings starts_at, stage_changes moved_at. |
| `date_from` | body | string | no | First day, YYYY-MM-DD, inclusive. |
| `date_to` | body | string | no | Last day, YYYY-MM-DD, inclusive. |
| `include_archived` | body | boolean | no | Opportunities only: list archived ones too (off by default). |
| `include_excluded_pipelines` | body | boolean | no | Opportunities only: include pipelines flagged as not for lead reporting (off by default). |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/reports/find"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"source":"...","filters":"...","sort":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`