---
title: "Recall Semantic Memory"
method: POST
path: "/v1/graphs/{graph_id}/memory/recall"
tags: ["Memory"]
---

# Recall Semantic Memory

`POST /v1/graphs/{graph_id}/memory/recall`

## Request

- Base URL: `https://api.robosystems.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.robosystems.ai/v1/graphs/{graph_id}/memory/recall`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Ranked semantic recall over the graph's per-graph memory store. Returns scored hits in the same shape as document search.

## Path parameters

- `graph_id` string, required

## Request body

- MemoryRecallRequest: Body for recall (ranked semantic search over memory).
  - `query` string, required: Recall query
  - `k` integer: Max results to return
  - `memory_type` string, nullable: Filter by memory type
  - `source` string, nullable: Filter by source

## Response `200`

Successful Response

- SearchResponse: Response model for document search.
  - `total` integer, required: Matching documents before any grouping, as OpenSearch counts them (it stops counting at 10,000). Not the number of distinct results a grouped search can page through.
  - `hits` SearchHit[], required
    - `document_id` string, required
    - `score` number, required
    - `source_type` string, required
    - `parent_document_id` string, nullable
    - `part` integer
    - `part_count` integer
    - `next_document_id` string, nullable
    - `entity_ticker` string, nullable
    - `entity_name` string, nullable
    - `section_label` string, nullable
    - `section_id` string, nullable
    - `element_qname` string, nullable
    - `filing_date` string, nullable
    - `fiscal_year` integer, nullable
    - `form_type` string, nullable
    - `accession_number` string, nullable
    - `xbrl_elements` string[], nullable
    - `snippet` string, required
    - `content_length` integer
    - `content_url` string, nullable
    - `document_title` string, nullable
    - `tags` string[], nullable
    - `folder` string, nullable
    - `also_in_filings` integer, nullable
  - `query` string, required
  - `graph_id` string, required

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: Access denied
- `404`: Resource not found
- `422`: Validation Error
- `429`: Rate limit exceeded
- `500`: Internal server error
- `503`: Semantic memory not available

---

[API](https://skmtc.dev/robosystems/apis/robosystems-api.md) · [All operations](https://skmtc.dev/robosystems/apis/robosystems-api/llms.txt) · [OpenAPI document](https://skmtc.dev/robosystems/apis/robosystems-api/revisions/e661e2d5ca6a?raw)
