> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zangtable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /projects/{project}/records/{table}

> Lists rows in a table.

Lists rows in a table.

## Endpoint details

<ParamField header="Authorization" type="string" required>
  Bearer `pat_...` (Project API Token). Keep this token on your backend/server.
</ParamField>

<ParamField path="project" type="string" required>
  Project slug. This acts as the Project ID in API paths.
</ParamField>

<ParamField path="table" type="string" required>
  Table name inside the project.
</ParamField>

<ResponseField name="ok" type="boolean" required>
  `true` for a successful response and `false` for an error response.
</ResponseField>

<ResponseField name="data" type="object | null">
  Endpoint-specific response data when `ok` is `true`; `null` on errors.
</ResponseField>

<ResponseField name="error" type="object | null">
  Error code and message when `ok` is `false`; `null` on success.
</ResponseField>

<ResponseField name="request_id" type="string" required>
  Request identifier you can use when troubleshooting a specific API call.
</ResponseField>

## Authentication

Project API Token.

## Parameters

Path: `table` required. Query: `filters` optional JSON; `sort` optional column; `order` optional `asc`/`desc`; `limit` optional 1-500 default 100; `offset` optional default 0; `include_count` or `count` optional boolean.

## Request examples

Basic request:

```bash theme={null}
curl -X GET "$BASE_URL/projects/{project}/records/{table}" \
  -H 'Authorization: Bearer pat_PROJECT_TOKEN'
```

Full request:

```bash theme={null}
curl -X GET "$BASE_URL/projects/{project}/records/{table}?filters=%5B%7B%22column%22%3A%22status%22%2C%22op%22%3A%22%3D%22%2C%22value%22%3A%22active%22%7D%5D&sort=id&order=desc&limit=50&offset=0&include_count=true" \
  -H 'Authorization: Bearer pat_PROJECT_TOKEN' \
  -H 'X-Operation-Key: edit-profile-email' \
  -H 'X-Operation-Run-Id: oprun_client_20260602_001'
```

## Response examples

Success:

```json theme={null}
{
  "ok": true,
  "data": {
    "table": "contacts",
    "rows": [
      {
        "id": 1,
        "email": "ada@example.com",
        "status": "active"
      }
    ],
    "limit": 100,
    "offset": 0,
    "returned": 1,
    "has_more": false
  },
  "error": null,
  "request_id": "req_20260602T012345_123456Z_abc123def456",
  "operation_key": "edit-profile-email",
  "operation_run_id": "oprun_20260602T012300_000000Z_a1b2c3d4e5f6",
  "operation_grouping_status": "accepted_provided_run",
  "meta": {
    "generated_at": "2026-06-02T01:23:45Z"
  }
}
```

With `include_count`:

```json theme={null}
{
  "ok": true,
  "data": {
    "table": "contacts",
    "rows": [
      {
        "id": 1,
        "email": "ada@example.com",
        "status": "active"
      }
    ],
    "limit": 50,
    "offset": 0,
    "returned": 1,
    "has_more": false,
    "total": 1
  },
  "error": null,
  "request_id": "req_20260602T012345_123456Z_abc123def456",
  "meta": {
    "generated_at": "2026-06-02T01:23:45Z"
  }
}
```
