---
title: "Compare query-free salience against objective-conditioned relevance."
method: POST
path: "/api/memory"
---

# Compare query-free salience against objective-conditioned relevance.

`POST /api/memory`

## Request

- Base URL: `https://whetstone.cyberelf.link`
- URL: `https://whetstone.cyberelf.link/api/memory`
- Auth: none declared

## Request body

- object: Rank caller-supplied memories against a concrete objective under a token budget.
  - `context_entities` string[]: Entities already active in context.
  - `current_step` integer
  - `memories` object[], required: Memories to rank.
    - `age` integer
    - `confidence` number
    - `content` string, required
    - `entities` string[]: Entities explicitly present in this memory.
    - `kind` string
    - `source` string
    - `use_count` integer
  - `objective` string, required
  - `objective_entities` string[]: Optional explicit entities when the objective text is not self-describing.
  - `question_kind` string
  - `token_budget` integer

## Response `200`

Deterministic receipt with item-level decision path and SHA-256 hashes.

## Other responses

- `400`: Input error (a hint points at /api/examples).
- `429`: Rate limited.

---

[API](https://skmtc.dev/cyberelf/apis/whetstone-tools.md) · [All operations](https://skmtc.dev/cyberelf/apis/whetstone-tools/llms.txt) · [OpenAPI document](https://skmtc.dev/cyberelf/apis/whetstone-tools/revisions/4c656180ee4d?raw)
