Ask answers a question about a project and shows the sources it used. It is an investigator, not a chat window: it searches the project's activity, reads what it finds, checks the plan and the latest documents when the question needs them, and writes an answer in which every claim points at an event or a work item. If the project does not contain the answer, it says so and names what is missing.

A conversation is a thread. A thread is private to the person who started it, and its author can share it read-only with the project team.

The tier is how deep Ask goes, and what a turn costs.

TierWhat it doesCredits
quickAnswers a follow-up from the thread, with no search.1
standardSearches the project and the plan, then answers.2
deepA longer analysis: more steps, code search, thinking before it answers.6

auto (the default) picks the cheapest tier that can answer. A new question about something the thread has not mentioned goes to standard; a follow-up that rewords, shortens or explains an earlier answer goes to quick. Ask never chooses deep by itself: the apps suggest it and you choose it. A turn that fails, is cancelled or returns nothing is not charged, and with billing off every tier is free.

Ask only reads. It has no tool that writes, sends or fetches a web address.

  • Activity: a search over the project's events (meaning and words together), and the full text of one event.
  • The plan: work items, the forecast, earned value and the RAID register of the project.
  • Artifacts: the latest handoff, insights, digest and plan review, with the date and how many events came after them.
  • Pull requests and issues: the pull request or issue behind a key, only for repositories and projects bound to this project, through your own connection first.
  • Code (deep only): the indexed repositories of the project.
  • The portfolio (a portfolio thread): every project of the organization you can open.

A project can also connect servers of its own; see Custom MCP.

Ask writes [ev:a1b2c3d4] for an event and [FR-12] for a work item. Flow Relay checks every reference against the events the turn actually read: a reference to something Ask never saw is removed from the answer, and the answer you receive is the checked one. The citations array lists each reference once with its source, title, link and date.

A thread is visible to its author only. The author can share it with the project team: teammates can read it and rate its answers but not add to it. A thread that used a connected account of the author asks for a confirmation before it is shared, because the answers may include what that account could see. A portfolio thread is shared with the organization's admins only.

POST /api/v1/projects/{id}/ask starts or continues a thread.

bash
curl -X POST https://www.flowrelay.it/api/v1/projects/$PROJECT/ask \
  -H "Authorization: Bearer $FLOWRELAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"question": "Why did we move checkout off the legacy queue?", "tier": "auto"}'

Without further headers the call waits and returns the finished answer:

json
{
  "thread_id": "3c1f6a52-9b0e-4d7a-8e21-5f4a0b9c7d13",
  "message_id": "8a2d4e6f-1b3c-4a5d-9e7f-0c1b2a3d4e5f",
  "answer": "Checkout moved off the legacy queue because the retries could double-charge [ev:a1b2c3d4].",
  "citations": [{ "ref": "ev:a1b2c3d4", "event_id": "a1b2c3d4-...", "source": "github", "title": "Move checkout to the payments service" }],
  "tier": "standard",
  "credits": 2
}

Pass thread_id to continue. GET /ask/threads lists your threads, GET /ask/threads/{threadId} reads one with its messages, and GET /ask/suggestions returns three questions drawn from the project. Reading a source: GET /projects/{id}/events/{eventId}.

Send Accept: text/event-stream and the turn arrives as server-sent events. Each frame has an id; if the connection drops, reconnect to GET /api/projects/{id}/ask/messages/{messageId}/stream with Last-Event-ID and you receive what you missed. A reader that disconnects does not stop the turn.

EventData
turn.startthreadId, userMessageId, messageId, tier, routedBy, credits
statusphase, label: what Ask is doing
tool.startcallId, name, label, argsPreview, server for a connected server
tool.endcallId, status (ok, error, denied), summary, latencyMs
text.deltatext: the next piece of the answer
citationref, eventId, source, title, url, createdAt
connect.requiredserverId, name, reason (connect, reauth, eu_attestation)
approval.requiredcallId, server, tool, args: waiting for your yes
turn.endstatus, messageId, content (the checked answer), citations, charged
errorerrorCode, error, retryable

Answer an approval.required with POST /projects/{id}/ask/messages/{messageId}/approve and {"callId": "...", "allow": true}; stop a turn with POST .../messages/{messageId}/cancel.

The project page has an Ask panel and a page of its own with the thread list. In an organization, the Portfolio view asks about all the projects you can open. The mobile app and the VS Code extension (@flowrelay in the chat view, or the Ask panel) use the same threads, and the MCP tool ask_project takes tier and thread_id.

TierTimeStepsTool callsReads
quick45 s1nonethe thread
standard90 s46about 120,000 tokens
deep4 min814about 200,000 tokens

At a limit Ask answers with what it has and says what it could not check. A long thread folds its older turns into a short summary that keeps their references.

What Ask reads stays inside the project's scope and residency: in an EU project every step runs on EU-hosted models, and a project that reads meeting transcripts never sends them to a China-hosted model. Text inside events and tool results is treated as data, never as an instruction. See People data and privacy.