# GET /apps/:app_id/tables/:table_key/rows

**Resource:** [App Data](./app-data.md)  
**MCP tool:** `list_app_rows`  
**Scopes:** `app-data:read`  
**Write operation:** no

List the rows of one app table that the caller is allowed to see (some tables show each person only their own rows, or a client only their own customer's rows). Sort by created_at, updated_at or a column key. Filter with filter, a JSON object: {"stage":"won"} for equals, or {"amount":{"in":["a","b"]}}, {"title":{"contains":"roof"}}, {"due":{"gte":"2026-11-01"}}. "At least" and "at most" (gte, lte) and "more than" and "less than" (gt, lt) work on number, money, date and datetime columns: {"amount":{"gte":1000}} is amounts of 1000 or more, {"amount":{"lte":5000}} is 5000 or less, and {"amount":{"gte":1000,"lte":5000}} is between the two. Numbers are compared as numbers, dates as dates (2026-11-01) and datetimes as times (2026-11-01T09:00:00Z). Each row holds only the fields the caller may see (the builder of the app can keep a field to the team, to clients, to admins or to some versions), and labels: the names of the records and rows its record columns point at. On a table that is one of the workspace's spreadsheets each row also says which record its sheet is kept on (record: { type, id, name }). Returns up to 200 rows and a cursor for the next page. Free read.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `app_id` | path | string | yes | The app's id. |
| `table_key` | path | string | yes | The table's key (for example "follow_ups"), as shown by list_app_tables. |
| `filter` | query | string | no | Column filters as a JSON object written as text (send the JSON string, not an object), for example {"stage":"won"}, {"amount":{"gte":1000}} (at least) or {"amount":{"lte":5000}} (at most). gte, lte, gt and lt work on number, money, date and datetime columns. At most 5 columns; one column may take two or more conditions such as a range. |
| `sort` | query | string | no | created_at (default), updated_at, or a column key. |
| `order` | query | string | no | Sort direction. Default desc for created_at, asc for a column. |
| `limit` | query | number | no | Rows per page (1-200, default 50). |
| `cursor` | query | string | no | The next_cursor from the previous page. |
| `owner_user_id` | query | string | no | Only rows owned by this team member. |
| `portal_contact_id` | query | string | no | Only rows for this customer contact. |
| `record_type` | query | string | no | A table that is one of the workspace's spreadsheets: only the rows of this record's sheet. Send with record_id. |
| `record_id` | query | string | no | The record whose sheet to read. Send with record_type. |

## Request example

```bash
curl   "https://api.trustpager.com/functions/v1/api/v1/apps/:app_id/tables/:table_key/rows"   -H "Authorization: Bearer YOUR_API_KEY"
```

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