---
title: "Export my memories for a workspace (JSON download)"
method: GET
path: "/memories/export"
tags: ["Assistant memory"]
---

# Export my memories for a workspace (JSON download)

`GET /memories/export`

## Request

- Base URL: `https://tasg.app/api/v1`
- URL: `https://tasg.app/api/v1/memories/export`
- Auth: HTTP bearer

## Query parameters

- `workspace_id` string, uuid, required

## Response `200`

Sent as an attachment.

- object
  - `exported_at` string, date-time, required
  - `workspace_id` string, uuid, required
  - `memories` Memory[], required
    - `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.
- `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)
