memory_archive_upsert
Create or update a team memory archive with title and project deduplication to persist lessons and decisions across conversations.
Instructions
Create or update an archive (title + project dedup), same contract as POST /api/v1/archives. Use for L0/L1/L2 text fields only; large files via HTTP POST /api/v1/archives/{archive_id}/attachments/upload or python -m team_memory.cli upload (after you have archive_id). Does not embed file bytes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| scope | No | session | |
| title | Yes | ||
| project | No | ||
| overview | No | ||
| scope_ref | No | ||
| content_type | No | session_archive | |
| solution_doc | Yes | ||
| value_summary | No | ||
| raw_conversation | No | ||
| conversation_summary | No | ||
| linked_experience_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |