Ask the Brain a question

Semantic search over this organization's stored knowledge — dated, sourced answers plus the founder's own rules.

  • This is the one call that answers a question. The block it returns is the same context Analify's in-app agent receives; inject it verbatim rather than rebuilding it from /brain/answers, /brain/memories and /brain/operating-contract.
  • Retrieval reaches the entire vector store, including questions the Brain could NOT answer (stored prefixed [No answer yet]), so "what don't you know about X" is answerable.
  • Read-only. It never changes anything.

Three fields decide whether an answer is safe to quote:

  • state — GOOD · WEAK · EMPTY · CONFLICTED · UNAVAILABLE · LOCKED. UNAVAILABLE means the embedding provider failed, not that the business is unknown. LOCKED (with locked: true) means this business's Brain is not trained yet: no stored knowledge is returned, the block says so, and answers must come from the live platform routes.
  • needsLive — the question wants a CURRENT figure. The Brain stores dated history, so fetch today's number from the platform routes instead of quoting a stored one.
  • lowConfidence — no passage cleared the similarity floor. The block still carries the closest passages with their scores so they can be weighed; present them as leads, never as facts.

manifest — what Analify can read right now, per source (the same Data Availability Manifest the in-app agent starts every turn with; block already opens with it):

  • Shape: { version: 1, asOf, rows: [{ source, status, lastUpdated, detail }], hiddenSources }.
  • source, in fixed order: shopify · meta_ads · tiktok_ads · google_ads · bosta · courier_fees · cogs · brain.
  • status: available · partial · pending · stale · error · missing · unknown. A source that could not be checked is unknown, never available; courier_fees: pending means Blended Profit for those days is withheld, not zero.
  • Sources outside the caller's role are not listed, only counted in hiddenSources. null when it could not be built — the search still answers.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
uuid
required

The Analify organization whose connected account to use.

string
required

The question, in the user's own words. Maximum 500 characters.

string
enum
Defaults to agent

agent (default) matches what Analify's own agent receives. deep ranks the whole store and returns far more of it — for a client with a large context doing research.

Allowed:
string

Comma-separated document kinds to restrict to. An unknown kind is rejected, never silently ignored.

string

Restrict to one entity type, e.g. product.

string

Restrict to one entity, e.g. a product title.

integer

Cap the number of passages returned.

Responses
200

OK

Language
Credentials
Bearer
anlfy_...
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json