---
title: "Recall As Of"
method: POST
path: "/api/v2/agents/{agent_id}/recall/as-of"
tags: ["Sessions & Agents", "Memory Operations"]
---

# Recall As Of

`POST /api/v2/agents/{agent_id}/recall/as-of`

## Request

- The document declares no server URL.
- Auth: none declared

Point-in-time recall: "What was true at this point in time?"

Returns memories stored before the specified datetime, excluding memories
created after or expired before as_of.

Example: "What memories did we have on 2025-11-01?"

Requires:
- X-Session-Token: {session_token}

## Path parameters

- `agent_id` string, required

## Headers

- `x-session-token` string, nullable
- `authorization` string, nullable
- `X-Api-Key` string, nullable

## Cookies

- `memanto_session_token` string, nullable

## Request body

- RecallAsOfRequest: Request body for point-in-time memory recall.
  - `as_of` string, date-time, required: Point-in-time — YYYY-MM-DD (defaults to end of day) or full ISO datetime e.g. 2025-11-01T14:30:00Z
  - `limit` integer, nullable: Max results
  - `type` string[], nullable: Memory type filters
  - `tags` string[], nullable: Tag filters
  - `source` string, nullable: Slug of the AI tool making this call (e.g. 'claude-code', 'cursor', 'copilot') for session and connection attribution.

## Response `200`

Successful Response

- TemporalRecallResponse
  - `agent_id` string, required
  - `session_id` string, required
  - `memories` MemoryItem[], required
    - `id` string, nullable
    - `title` string
    - `content` string
    - `text` string
    - `type` string, nullable
    - `confidence` number, nullable
    - `status` string, nullable
    - `tags` string[]
    - `created_at` string, nullable
    - `updated_at` string, nullable
    - `expired_at` string, nullable
    - `expired_by` string, nullable
    - `actor_id` string, nullable
    - `source` string, nullable
    - `source_ref` string, nullable
    - `agent_id` string, nullable
    - `score` number, nullable
    - `provenance` string
    - `change_type` string, nullable
  - `count` integer, required
  - `total_available` integer, nullable
  - `temporal_mode` string, required
  - `as_of_date` string, nullable
  - `since_date` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-28** `20a0f070170b`: 1 info
  - added the new optional request property `source`
- **2026-09-29** `3311c5bff1f7`: 1 info
  - added the optional property `total_available` to the response with the `200` status
- **2026-09-01** `4dbab4daf6d3`: 1 info
  - added the new optional `header` request parameter `authorization`
- **2026-08-20** `7d62b984fff2`: 2 warning, 3 info
  - removed the optional property `memories/items/expires_at` from the response with the `200` status
  - removed the optional property `memories/items/ttl_seconds` from the response with the `200` status
  - added the optional property `memories/items/expired_at` to the response with the `200` status
  - added the optional property `memories/items/expired_by` to the response with the `200` status
  - …1 more
- **2026-07-31** `e0a6984c84a3`: 1 info
  - added the new optional `header` request parameter `X-Api-Key`

[Operation history](https://skmtc.dev/moorcheh-ai/apis/memanto-memory-that-ai-agents-love/changes/api/v2/agents/:agent_id/recall/as-of/post.md)

---

[API](https://skmtc.dev/moorcheh-ai/apis/memanto-memory-that-ai-agents-love.md) - [All operations](https://skmtc.dev/moorcheh-ai/apis/memanto-memory-that-ai-agents-love/llms.txt) - [OpenAPI document](https://skmtc.dev/moorcheh-ai/apis/memanto-memory-that-ai-agents-love/revisions/ef842776283e?raw)
