---
title: "Seed Memory"
method: POST
path: "/memory/seed"
tags: ["memory"]
---

# Seed Memory

`POST /memory/seed`

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/memory/seed`
- Auth: none declared

Add user-provided preference text to memories.

Uses LLM to evaluate the text and merge into existing memories.
Creates a new memory record if none exists.

Returns the updated memory state (may be unchanged if no meaningful
preferences were extracted from the input).

## Request body

- SeedMemoryRequest: Request model for POST /memory/seed - user-provided preference text.
  - `text` string, required

## Response `200`

Successful Response

- MemoryResponse: Response model for GET /memory - includes all memory fields plus metadata.
  - `flight_preferences` string[], required
  - `other_transport_preferences` string[], required
  - `accomodation_preferences` string[], required
  - `personal_information` string[], required
  - `version` integer, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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