Přejít na hlavní obsah
GET
/
v1
/
tables
/
{table_id}
const table = await client.tables.get("tbl_abc123");

console.log(table.name);
console.log(table.status);
console.log(table.total_rows);
{
  "id": "tbl_abc123",
  "name": "Q1 Product Catalog",
  "schema_id": "schema_xyz789",
  "status": "completed",
  "progress": 100,
  "total_rows": 42,
  "source_type": "files",
  "additional_context": null,
  "enhancement_context": "Focus on technical specifications",
  "error_message": null,
  "files": [
    { "name": "catalog.pdf", "path": "company_123/file_xyz/catalog.pdf", "size": 1048576 }
  ],
  "created_at": "2025-03-10T14:30:00.000Z",
  "updated_at": "2025-03-10T15:45:00.000Z"
}

Parametry cesty

table_id
string
povinné
Jedinečný identifikátor tabulky.

Odpověď

id
string
Jedinečný identifikátor tabulky.
name
string
Název tabulky.
schema_id
string
Schéma použité pro extrakci.
status
string
queued, processing, completed nebo failed.
progress
integer
Průběh extrakce (0-100).
total_rows
integer
Počet extrahovaných řádků.
source_type
string
files nebo text.
additional_context
string | null
Kontext extrakce.
enhancement_context
string | null
Kontext obohacení.
error_message
string | null
Chybová zpráva, pokud zpracování selhalo.
files
array
Metadata nahraných souborů.
created_at
string
Časové razítko ISO 8601.
updated_at
string
Časové razítko ISO 8601.
const table = await client.tables.get("tbl_abc123");

console.log(table.name);
console.log(table.status);
console.log(table.total_rows);
{
  "id": "tbl_abc123",
  "name": "Q1 Product Catalog",
  "schema_id": "schema_xyz789",
  "status": "completed",
  "progress": 100,
  "total_rows": 42,
  "source_type": "files",
  "additional_context": null,
  "enhancement_context": "Focus on technical specifications",
  "error_message": null,
  "files": [
    { "name": "catalog.pdf", "path": "company_123/file_xyz/catalog.pdf", "size": 1048576 }
  ],
  "created_at": "2025-03-10T14:30:00.000Z",
  "updated_at": "2025-03-10T15:45:00.000Z"
}