---
title: "Approve a proposed team memory"
method: POST
path: "/memories/{id}/approve"
tags: ["Assistant memory"]
---

# Approve a proposed team memory

`POST /memories/{id}/approve`

## Request

- Base URL: `https://tasg.app/api/v1`
- URL: `https://tasg.app/api/v1/memories/{id}/approve`
- Auth: HTTP bearer

Approver only (workspace owner, or project owner/editor for project scope). The memory becomes active and enters recall; if it names a member, the subject is notified.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `workspace_id` string, uuid, required

## Response `200`

Now active.

- Memory: An assistant memory (camelCase keys).
  - `id` string, uuid, required
  - `workspaceId` string, uuid, required
  - `scope` 'user' | 'workspace' | 'project', required: `user` = private to the subject; `workspace`/`project` = shared team memory, which goes through propose-then-approve.
  - `kind` 'user_preference' | 'team_convention' | 'project_fact' | 'entity_relationship' | 'agent_feedback', required
  - `content` string, required
  - `importance` integer, required
  - `status` 'active' | 'proposed' | 'superseded': `proposed` rows are excluded from recall until approved.
  - `authorType` 'user' | 'agent', required
  - `sourceNote` string, nullable
  - `projectId` string, uuid, nullable
  - `supersededById` string, uuid, nullable
  - `subjectUserId` string, uuid, nullable: Who the memory is about; the subject can always see and delete it.
  - `authorUserId` string, uuid, nullable
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time
  - `lastUsedAt` string, date-time

## Other responses

- `400`: Validation failed: the body or query did not match the schema, or a business rule was violated. `error` says which.
- `401`: Missing, invalid, expired or revoked credentials.
- `403`: Authenticated, but not allowed: not a member, insufficient project role or the API token lacks the required scope.
- `404`: Not found, or not visible to the caller (tenancy is enforced: foreign resources look identical to missing ones).
- `429`: Rate limited. Back off and retry after the window in the `RateLimit-*` headers.

---

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