---
title: "Generate Memory Prefill"
method: POST
path: "/onboarding/memory-prefill"
tags: ["onboarding"]
---

# Generate Memory Prefill

`POST /onboarding/memory-prefill`

Generate AI-powered memory pre-fill content based on user onboarding choices

This endpoint uses OpenAI's GPT-3.5-turbo to generate contextual, personalized
memory content based on the user's preferences and profile data from onboarding.

## Request body

- PrefillRequest
  - `user_preferences` string[], required
  - `user_profile` object, nullable
  - `selected_space` string, nullable

## Response `200`

Successful Response

- PrefillResponse
  - `content` string, required
  - `tags` string[], required
  - `confidence` number, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/memara/apis/memara-api.md) · [All operations](https://skmtc.net/memara/apis/memara-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/memara/memara-api/revisions/4dc7c4418845/schema)
