Skip to content

Asking Frank

POST /v1/ask
Field Type
question string, required What you want to know or want done. Up to 20,000 characters.
chat_id string Continue an existing conversation. Frank sees its history. Leave out to start a new one.
expedition_id string Scope a new conversation to one of your expeditions (GET /v1/expeditions). Default: your default expedition.
context array Up to 10 items of material for Frank to read with the question, 40,000 characters in all.
{
"question": "Should we take a first meeting? One paragraph.",
"context": [
{ "type": "url", "url": "https://example.com", "title": "Company site" },
{ "type": "text", "text": "Founder's email: we are raising a $4M seed…", "title": "Intro email" }
]
}

Frank reads context as information, never as instructions. Text inside a context item cannot make him take an action; anything that writes still waits for your approval.

HTTP status Means
200 done answer (Markdown), sources, tables, views, plus run_id, chat_id and url.
202 working Still running. Poll next (GET /v1/runs/{run_id}?wait=30). See Long answers.
200 needs_approval Frank wants your go-ahead. approval has title, choices and detail. See Approvals.

url opens the conversation in SummitPoint. tables lists the tables in the answer; page them with GET /v1/runs/{run_id}/tables/{n}. views summarizes other things the answer produced (documents, briefs, charts).

Pass the chat_id from the first answer:

Terminal window
curl https://letsfrank.ai/v1/ask \
-H "Authorization: Bearer $FRANK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"chat_id": "a1d2…", "question": "Which of those leads also invested in Series A this year?"}'