Vytvořit tabulku
Vytvoření nové extrakční tabulky a spuštění zpracování.
Poznámky k použití
- Pro funkční extrakci zadejte právě jeden zdroj: neprázdné pole
file_idsnebo neprázdnésource_text. file_urlszůstává přijímaným kompatibilním polem, ale extrakční worker URL nestáhne. Požadavek se může zařadit do fronty bez platného výsledku. Vzdálený soubor nejprve stáhněte a nahrajte přesPOST /files.- Duplicitní názvy zdrojových souborů jsou odmítnuty. Celkový limit velikosti extrakce je 512 MB.
- Vybrané Product Schema se při vytvoření zkopíruje do tabulky. Pozdější změny opakovaně použitelného Product Schema nepřepíšou snapshot tabulky.
- Úspěšný požadavek vrátí
201se stavemqueued_for_processing. DotazujteGET /tables/{table_id}, dokud stav nebudecompleted,errornebocancelled. - Nastavte
webhook_url, pokud chcete konečný výsledek extrakce získat bez dotazování.
Příklady
Autorizace
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Tělo
Schema defining the column structure
Table name
IDs of previously uploaded files
1Legacy compatibility field. The handler accepts and queues these URLs, but the current extraction worker does not download them, so the extraction cannot complete correctly. Download each file and use file_ids instead.
Raw text containing product data
1Extra instructions for the AI extraction
Default context for all AI enhancements on this table
URL to notify when extraction completes or fails
Odpověď
Created table, extraction started
Raw extraction job status returned by the API.
queued, queued_for_processing, processing, processing_by_worker, completed, error, cancelled 0 <= x <= 100files, text 
