# BrainAPI Retrieve API (https://brainapi.lumen-labs.ai/docs/v2/reference/api/retrieve)

> For the complete BrainAPI documentation index, see [llms.txt](https://brainapi.lumen-labs.ai/docs/llms.txt). A markdown version of any docs page is available by appending `.md` to its URL (e.g. https://brainapi.lumen-labs.ai/docs/v2/reference/api/retrieve.md).

Search and retrieve passages, graph data, observations, and recommendations.

{/* Generated from schemas\/brainapi-v2.openapi.json. Run npm run api:generate after syncing the schema. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="schemas/brainapi-v2.openapi.json" webhooks={[]} operations={[{"path":"/retrieve/","method":"get"},{"path":"/retrieve/changelogs","method":"get"},{"path":"/retrieve/changelogs/types","method":"get"},{"path":"/retrieve/changelogs/{id}","method":"get"},{"path":"/retrieve/context","method":"post"},{"path":"/retrieve/entities","method":"get"},{"path":"/retrieve/entities/neighbors","method":"get"},{"path":"/retrieve/entities/neighbors","method":"post"},{"path":"/retrieve/entities/neighbors/ai-mode","method":"post"},{"path":"/retrieve/entity/context","method":"get"},{"path":"/retrieve/entity/info","method":"get"},{"path":"/retrieve/entity/status","method":"get"},{"path":"/retrieve/entity/synergies","method":"get"},{"path":"/retrieve/hops","method":"get"},{"path":"/retrieve/observations","method":"get"},{"path":"/retrieve/observations/labels","method":"get"},{"path":"/retrieve/observations/{id}","method":"get"},{"path":"/retrieve/recommend","method":"get"},{"path":"/retrieve/recommend","method":"post"},{"path":"/retrieve/relationships","method":"get"},{"path":"/retrieve/search","method":"get"},{"path":"/retrieve/search","method":"post"},{"path":"/retrieve/structured-data","method":"get"},{"path":"/retrieve/structured-data/types","method":"get"},{"path":"/retrieve/structured-data/{id}","method":"get"},{"path":"/retrieve/text-chunks","method":"get"},{"path":"/retrieve/vectors/stores","method":"get"},{"path":"/retrieve/vectors/{store}","method":"get"}]} showTitle showDescription />
    </>
  );
}
