---
title: "List Rows"
method: GET
path: "/api/v1/tables/{tableId}/rows"
tags: ["Tables"]
---

# List Rows

`GET /api/v1/tables/{tableId}/rows`

Query rows from a table with optional filtering, sorting, and pagination. Filters and sorts are passed as JSON-encoded query parameters.

## Path parameters

- `tableId` string, required

## Query parameters

- `workspaceId` string, required
- `filter` string
- `sort` string
- `limit` integer
- `offset` integer

## Response `200`

Rows matching the query.

- object
  - `success` boolean — Indicates whether the request was successful.
  - `data` object — Response payload.
    - `rows` TableRow[] — Array of rows matching the query.
      - `id` string — Unique row identifier.
      - `data` object — Row data as key-value pairs matching the table schema.
      - `position` integer — Row's position/order in the table.
      - `createdAt` string, date-time — ISO 8601 timestamp when the row was created.
      - `updatedAt` string, date-time — ISO 8601 timestamp when the row was last modified.
    - `rowCount` integer — Number of rows returned in this response.
    - `totalCount` integer — Total rows matching the filter.
    - `limit` integer — The limit that was applied to the query.
    - `offset` integer — The offset that was applied to the query.

## Other responses

- `400` — Invalid request parameters. Check the details array for specific validation errors.
- `401` — Invalid or missing API key. Ensure the X-API-Key header is set with a valid key.
- `403` — Access denied. You do not have permission to access this resource. For audit log endpoints, this requires an Enterprise subscription and organization admin/owner role.
- `404` — The requested resource was not found. Verify the ID is correct and belongs to your workspace.
- `429` — Rate limit exceeded. Wait for the duration specified in the Retry-After header before retrying. The X-RateLimit-* headers accompany every response from an authenticated v1 request — success and error alike — and are omitted only when the request fails authentication, since no rate-limit bucket is consulted in that case.

---

[API](https://skmtc.net/simstudioai/apis/sim-api.md) · [All operations](https://skmtc.net/simstudioai/apis/sim-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/simstudioai/sim-api/versions/66a471c5b1df/schema)
