Tables and history
Tables
Section titled “Tables”GET /v1/runs/{run_id}/tablesGET /v1/runs/{run_id}/tables/{n}?offset=0&cursor=Without {n}: the tables in that answer (table, type, title, total).
With {n}: one page of that table.
{ "run_id": "6f0c…", "table": 0, "title": "…", "total": 120, "offset": 0, "shown": 50, "columns": ["Company", "Round", "Amount", "Lead"], "rows": [["…", "…", "…", "…"]], "next_offset": 50, "next_cursor": null}Pass next_offset as offset for the next page. When next_cursor is set (long people lists), pass it as cursor instead.
Conversations
Section titled “Conversations”GET /v1/chats?limit=15&expedition_id=GET /v1/chats/{chat_id}?limit=20/v1/chats returns chats (chat_id, title, updated_at, url), newest first, up to 50. Filter by expedition_id.
/v1/chats/{chat_id} returns messages (role is user or frank, text, sources, created_at), oldest first, the latest up to 60.
Conversations from the app, a connected AI app and the API all appear here.
Expeditions
Section titled “Expeditions”GET /v1/expeditionsReturns expeditions (id, name, is_default, description). Pass an id as expedition_id to /v1/ask.
