Store a fact

Store a persistent memory fact. Facts are semantically indexed and retrievable across any session or platform.

post/api/v1/facts

Request

  • Base URL: https://ctxstore.ai
  • URL: https://ctxstore.ai/api/v1/facts
  • Auth: HTTP bearer

Request body

textstring required

The fact to store

category'preference' | 'decision' | 'identity' | 'technical' | 'relationship' required

Fact category for filtering

is_permanentboolean

Whether the fact persists indefinitely

Example request

{
  "text": "User prefers dark mode"
}

Response

Fact stored successfully

fact_idstring
categorystring
is_permanentboolean

Changes

No recorded changes to this operation across all 1 revision of this API.