Limai Docs
API ReferenceTables & Rows

Extractions

Get extracted data rows for a table

GET/api/v1/extractions/{tableId}

Returns extracted data rows for a table with pagination and filtering. Each row includes cell values keyed by column name, along with any nested child rows.

Parameters

NameTypeInRequiredDescription
tableIdstringpathYesThe table ID
pageintegerqueryNoPage number(default: 1)
limitintegerqueryNoResults per page (1-500)(default: 100)
orderstringqueryNoSort order: asc or desc(default: desc)
statusstringqueryNoFilter by row status: PENDING, ACCEPTED, REJECTED

Request

const res = await fetch(
"https://app.limai.io/api/v1/extractions/tbl_abc123?page=1&limit=50&status=ACCEPTED",
{
  headers: {
    Authorization: "Bearer YOUR_API_TOKEN",
  },
}
);
const { data, pagination } = await res.json();

Response

Response200
{
  "data": [
    {
      "tableId": "tbl_abc123",
      "tableName": "Invoices",
      "rows": [
        {
          "id": "row_001",
          "status": "ACCEPTED",
          "createdAt": "2025-01-15T10:30:00.000Z",
          "updatedAt": "2025-01-15T10:31:00.000Z",
          "nestedRows": [],
          "Invoice Number": "INV-2025-001",
          "Date": "2025-01-15",
          "Total": 1250
        }
      ]
    }
  ],
  "pagination": {
    "currentPage": 1,
    "limit": 50,
    "totalPages": 3,
    "totalRows": 150
  }
}