List Rows

Retrieve all rows from a table with optional filtering and sorting

GET/tables/{table_id}/rows
Requires Bearer authentication

Retrieve a paginated list of rows from a specific table with optional filtering and sorting.

Path Parameters

table_idstringrequired

The unique identifier of the table.

Query Parameters

pageinteger

Page number for pagination.

limitinteger

Number of items per page (max 100).

sortstring

Field slug to sort by.

orderstring

Sort order: 'asc' or 'desc'.

filterobject

JSON object with filter conditions.

GET/tables/{table_id}/rows
curl -X GET "https://api.vastal.agency/v1/tables/tbl_abc123/rows?limit=50&sort=created_at&order=desc" \
-H "Authorization: Bearer YOUR_API_KEY"
200Success
{
"success": true,
"data": [
  {
    "id": "row_001",
    "data": {
      "name": "John Doe",
      "email": "john@acme.com",
      "company": "Acme Inc"
    },
    "created_at": "2024-01-15T10:30:00Z"
  }
],
"pagination": {
  "page": 1,
  "limit": 50,
  "total": 150
}
}