---
title: "Get Longterm"
method: POST
path: "/memory/longterm"
---

# Get Longterm

`POST /memory/longterm`

## Request

- Base URL: `https://api.humaux.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.humaux.com/memory/longterm`
- Auth: HTTP bearer

## Request body

- LongTermMemoryRequest: Payload for POST /memory/longterm
  - `team_id` string
  - `workspace_id` string
  - `agent_id` string
  - `top_k` integer
  - `min_importance` number

## Response `200`

Successful Response

- MemorySearchResult[]
  - `memory` MemoryResponse, required
    - `id` string, required
    - `team_id` string, required
    - `workspace_id` string, required
    - `agent_id` string
    - `category` string, required
    - `subcategory` string, nullable
    - `topic` string, nullable
    - `memory_type` string, required
    - `title` string, required
    - `content` string, required
    - `summary` string, nullable
    - `embedding_model` string, required
    - `embedding_version` integer
    - `importance` number, required
    - `confidence` number, required
    - `freshness` number
    - `lifecycle_stage` string
    - `access_count` integer
    - `source_type` string, required
    - `source_uri` string, nullable
    - `version` integer
    - `tags` string[]
    - `relations` object[]
    - `created_at` string, required
    - `updated_at` string, required
  - `score` number, required
  - `chunk_text` string, nullable
  - `graph_context` object[]
  - `temporal_status` string, nullable
  - `superseded_by` string, nullable
  - `supersede_reason` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/humaux/apis/humaux-memory.md) · [All operations](https://skmtc.dev/humaux/apis/humaux-memory/llms.txt) · [OpenAPI document](https://skmtc.dev/humaux/apis/humaux-memory/revisions/30baeb9d49d8?raw)
