Topolo Docs Topolo Platform
Open workspace

Export workspace privacy data

Export records and asset download paths belonging to the selected Brand workspace.

Outcome

Export records and asset download paths belonging to the selected Brand workspace.

Before you start

  • Verify whoami and the pinned credential context, then inspect the exact discovered action before preparing input.
  • Discover a granted Brand workspace. Pass its resourceType/workspace identifier separately from input; a copied fixture identifier grants no access.
  • The declared permission is brand:read. The active credential, application scope, resource binding and runtime authority must all authorize the request.

Discover the target

topolo whoami --json
topolo actions get app_topolo_brand.privacy.export --detail --json
topolo resources topolo-brand --json
topolo workspaces list topolo-brand --json

Request

GET /api/privacy/export

Resource context is the selected Brand workspace. CLI/SDK action input includes path identifiers; direct HTTP JSON bodies exclude path parameters. Read the reviewed plan for the exact request.

Input fields

Use {} as input; credential and workspace resource context remain separate.

Exact published input schema:

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Effects

Reads control, content, asset and audit records scoped to the verified organization and workspace, including surviving kit-deletion audit events.

Interpret the response

The export uses raw SQL column names, including snapshot_json and metadata_json serialized JSON strings. assets[].contentPath is an authenticated download path, not the bytes themselves. Workspace identity may be null.

Response identifier contract:

{
  "kind": "workspace",
  "identifierSource": "response",
  "idPath": "$.workspaceId"
}

Worked examples

These complete synthetic responses were captured from the local worker over canonical SQL migrations. Auth and R2 dependencies are simulated; notification delivery is not exercised. Set BRAND_WORKSPACE_ID from granted workspace discovery. Save reviewed input as payload.json, validate and inspect the unchanged plan. The final mutation command and MCP confirm flag assume the intended effect has already been authorized.

Minimal example

Input · payload.json:

{}

CLI:

topolo actions validate app_topolo_brand.privacy.export --data @payload.json --json
topolo actions plan app_topolo_brand.privacy.export --resource-type workspace --resource-id "$BRAND_WORKSPACE_ID" --data @payload.json --json
topolo actions call app_topolo_brand.privacy.export --resource-type workspace --resource-id "$BRAND_WORKSPACE_ID" --data @payload.json --json

MCP tool and arguments:

{
  "tool": "topolo_read_action",
  "arguments": {
    "actionId": "app_topolo_brand.privacy.export",
    "input": {},
    "resourceType": "workspace",
    "resourceId": "<identifier returned by resource discovery>"
  }
}

Captured local response · HTTP 200:

{
  "organizationId": "org_documentation_fixture",
  "workspaceId": "ws_brand_documentation_fixture",
  "exportedAt": "2026-10-03T11:23:59.098Z",
  "workspace": {
    "id": "ws_brand_documentation_fixture",
    "organization_id": "org_documentation_fixture",
    "status": "active",
    "created_at": "2026-10-03T11:23:59.054Z",
    "updated_at": "2026-10-03T11:23:59.054Z"
  },
  "brandKits": [
    {
      "id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "organization_id": "org_documentation_fixture",
      "name": "Reviewed fixture identity",
      "slug": "fixture-minimal",
      "description": "",
      "status": "retired",
      "created_by_user_id": "usr_documentation_fixture",
      "created_by_email": "reviewer@example.invalid",
      "created_at": "2026-10-03T11:23:59.056Z",
      "updated_at": "2026-10-03T11:23:59.096Z",
      "workspace_id": "ws_brand_documentation_fixture"
    }
  ],
  "bindings": [],
  "versions": [
    {
      "id": "brand_version_5d0eb310-87f0-4a81-9f27-11240da457e6",
      "organization_id": "org_documentation_fixture",
      "brand_kit_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "version_number": 1,
      "status": "published",
      "snapshot_json": "{\"identity\":{\"displayName\":\"Fixture identity\",\"shortDescription\":\"The next generation of software.\",\"domains\":[\"topolo.io\"],\"locales\":[\"en\"]},\"visual\":{\"logos\":{\"primaryAssetId\":\"brand_asset_dd192c95-76da-4c2e-a61c-8b164686806b\"},\"palette\":{\"primary\":\"#111827\",\"secondary\":\"#E5E7EB\",\"accent\":\"#F97316\",\"background\":\"#FFFFFF\",\"foreground\":\"#111827\",\"semantic\":{}},\"typography\":{\"heading\":{\"family\":\"Inter\",\"weights\":[700],\"fallback\":[\"sans-serif\"]},\"body\":{\"family\":\"Inter\",\"weights\":[400,600],\"fallback\":[\"sans-serif\"]}},\"layout\":{\"radius\":16,\"spacingScale\":[4,8,16],\"logoPlacement\":\"top-left\"},\"imagery\":{\"direction\":\"Bold, graphic, product-led.\",\"avoid\":[\"generic stock photography\"]}},\"verbal\":{\"positioning\":\"Enterprise-grade software without enterprise-era waste.\",\"audiences\":[\"small businesses\"],\"valuePropositions\":[\"One connected software ecosystem\"],\"tone\":[\"bold\",\"direct\"],\"do\":[\"Use specific proof\"],\"dont\":[\"Use unsupported superlatives\"],\"bannedTerms\":[\"guaranteed riches\"]},\"claims\":[],\"ctas\":[],\"assets\":[{\"id\":\"brand_asset_dd192c95-76da-4c2e-a61c-8b164686806b\",\"kind\":\"logo\",\"name\":\"Fixture logo\",\"url\":\"/api/brand-assets/brand_asset_dd192c95-76da-4c2e-a61c-8b164686806b/content\",\"mimeType\":\"image/svg+xml\"}],\"accessibility\":{\"minimumContrast\":4.5,\"requireAltText\":true,\"reducedMotion\":true},\"legal\":{\"requiredDisclosures\":[],\"prohibitedTopics\":[]}}",
      "change_note": "Ready for review",
      "created_by_user_id": "usr_documentation_fixture",
      "created_by_email": "reviewer@example.invalid",
      "published_by_user_id": "usr_documentation_fixture",
      "published_by_email": "reviewer@example.invalid",
      "created_at": "2026-10-03T11:23:59.072Z",
      "updated_at": "2026-10-03T11:23:59.081Z",
      "published_at": "2026-10-03T11:23:59.081Z"
    }
  ],
  "assets": [
    {
      "id": "brand_asset_dd192c95-76da-4c2e-a61c-8b164686806b",
      "organization_id": "org_documentation_fixture",
      "brand_kit_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "kind": "logo",
      "name": "Fixture logo",
      "mime_type": "image/svg+xml",
      "storage_key": "org_documentation_fixture/brand_c794be50-0306-4933-8de8-5609340bed9e/brand_asset_dd192c95-76da-4c2e-a61c-8b164686806b",
      "license": "Fixture-only artwork",
      "alt_text": "Fixture identity",
      "status": "ready",
      "created_at": "2026-10-03T11:23:59.064Z",
      "updated_at": "2026-10-03T11:23:59.067Z",
      "contentPath": "/api/brand-assets/brand_asset_dd192c95-76da-4c2e-a61c-8b164686806b/content"
    }
  ],
  "auditEvents": [
    {
      "id": "brand_audit_33778e55-8754-46d3-a468-612854238474",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_kit.created",
      "entity_type": "brand_kit",
      "entity_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "brand_kit_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.057Z"
    },
    {
      "id": "brand_audit_5cafe704-c9cc-4914-85a6-fcb2d0359941",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_kit.updated",
      "entity_type": "brand_kit",
      "entity_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "brand_kit_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.062Z"
    },
    {
      "id": "brand_audit_fed46261-01c1-44d9-981d-9f09ed26d0ac",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_asset.registered",
      "entity_type": "brand_asset",
      "entity_id": "brand_asset_dd192c95-76da-4c2e-a61c-8b164686806b",
      "brand_kit_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.065Z"
    },
    {
      "id": "brand_audit_2ffa75a5-86e1-4b38-9f38-7eac827ba62e",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_asset.ready",
      "entity_type": "brand_asset",
      "entity_id": "brand_asset_dd192c95-76da-4c2e-a61c-8b164686806b",
      "brand_kit_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.067Z"
    },
    {
      "id": "brand_audit_8eb16c7f-c324-490c-9eee-14017c431a87",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_version.created",
      "entity_type": "brand_version",
      "entity_id": "brand_version_5d0eb310-87f0-4a81-9f27-11240da457e6",
      "brand_kit_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.073Z"
    },
    {
      "id": "brand_audit_69b21820-a403-42e6-9cb9-440cbacffabb",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_version.updated",
      "entity_type": "brand_version",
      "entity_id": "brand_version_5d0eb310-87f0-4a81-9f27-11240da457e6",
      "brand_kit_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.078Z"
    },
    {
      "id": "brand_audit_f519e51d-ef9d-4d4f-9b75-b94761904ced",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_version.review_requested",
      "entity_type": "brand_version",
      "entity_id": "brand_version_5d0eb310-87f0-4a81-9f27-11240da457e6",
      "brand_kit_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "metadata_json": "{\"reviewerUserId\":\"usr_second_fixture_reviewer\"}",
      "created_at": "2026-10-03T11:23:59.080Z"
    },
    {
      "id": "brand_audit_2f3486ef-1e72-459a-9838-0c3b4402231b",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_version.published",
      "entity_type": "brand_version",
      "entity_id": "brand_version_5d0eb310-87f0-4a81-9f27-11240da457e6",
      "brand_kit_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.081Z"
    },
    {
      "id": "brand_audit_614d6cd3-59c6-4285-8c32-30bc722165ba",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_binding.upserted",
      "entity_type": "brand_binding",
      "entity_id": "brand_binding_a4ab1e79-6dbe-45c4-af96-093a041abde6",
      "brand_kit_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.082Z"
    },
    {
      "id": "brand_audit_fdc89a19-b1ce-4637-bf6e-daaa983db127",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_version.restored",
      "entity_type": "brand_version",
      "entity_id": "brand_version_e03a22ea-3d96-491b-8a09-d868a7b1d7b8",
      "brand_kit_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "metadata_json": "{\"restoredFromVersion\":\"1\",\"restoredFromId\":\"brand_version_5d0eb310-87f0-4a81-9f27-11240da457e6\"}",
      "created_at": "2026-10-03T11:23:59.094Z"
    },
    {
      "id": "brand_audit_fb389e6f-398d-40cd-bb8f-2818e833899e",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_kit.retired",
      "entity_type": "brand_kit",
      "entity_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "brand_kit_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.096Z"
    },
    {
      "id": "brand_audit_ca91262b-88a9-44b0-9dbe-8c930a767b5c",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_version.discarded",
      "entity_type": "brand_version",
      "entity_id": "brand_version_e03a22ea-3d96-491b-8a09-d868a7b1d7b8",
      "brand_kit_id": "brand_c794be50-0306-4933-8de8-5609340bed9e",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.096Z"
    },
    {
      "id": "brand_audit_61a34304-9eb4-4f22-997a-d6658122e016",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_kit.deleted",
      "entity_type": "brand_kit",
      "entity_id": "brand_f6f7cd1b-e613-4ae5-9163-a8f6dbf504a9",
      "brand_kit_id": "brand_f6f7cd1b-e613-4ae5-9163-a8f6dbf504a9",
      "metadata_json": "{\"name\":\"Disposable draft\",\"slug\":\"disposable-minimal\",\"workspaceId\":\"ws_brand_documentation_fixture\"}",
      "created_at": "2026-10-03T11:23:59.097Z"
    }
  ]
}

The export uses raw SQL column names, including snapshot_json and metadata_json serialized JSON strings. assets[].contentPath is an authenticated download path, not the bytes themselves. Workspace identity may be null.

Workflow example

Input · payload.json:

{}

CLI:

topolo actions validate app_topolo_brand.privacy.export --data @payload.json --json
topolo actions plan app_topolo_brand.privacy.export --resource-type workspace --resource-id "$BRAND_WORKSPACE_ID" --data @payload.json --json
topolo actions call app_topolo_brand.privacy.export --resource-type workspace --resource-id "$BRAND_WORKSPACE_ID" --data @payload.json --json

MCP tool and arguments:

{
  "tool": "topolo_read_action",
  "arguments": {
    "actionId": "app_topolo_brand.privacy.export",
    "input": {},
    "resourceType": "workspace",
    "resourceId": "<identifier returned by resource discovery>"
  }
}

Captured local response · HTTP 200:

{
  "organizationId": "org_documentation_fixture",
  "workspaceId": "ws_brand_documentation_fixture",
  "exportedAt": "2026-10-03T11:23:59.123Z",
  "workspace": {
    "id": "ws_brand_documentation_fixture",
    "organization_id": "org_documentation_fixture",
    "status": "active",
    "created_at": "2026-10-03T11:23:59.104Z",
    "updated_at": "2026-10-03T11:23:59.104Z"
  },
  "brandKits": [
    {
      "id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "organization_id": "org_documentation_fixture",
      "name": "Reviewed fixture identity",
      "slug": "fixture-workflow",
      "description": "A governed example identity",
      "status": "retired",
      "created_by_user_id": "usr_documentation_fixture",
      "created_by_email": "reviewer@example.invalid",
      "created_at": "2026-10-03T11:23:59.104Z",
      "updated_at": "2026-10-03T11:23:59.122Z",
      "workspace_id": "ws_brand_documentation_fixture"
    }
  ],
  "bindings": [],
  "versions": [
    {
      "id": "brand_version_d00e1d23-0626-418b-ba5c-e9c02b746293",
      "organization_id": "org_documentation_fixture",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "version_number": 1,
      "status": "published",
      "snapshot_json": "{\"identity\":{\"displayName\":\"Fixture identity\",\"shortDescription\":\"The next generation of software.\",\"domains\":[\"topolo.io\"],\"locales\":[\"en\"]},\"visual\":{\"logos\":{\"primaryAssetId\":\"brand_asset_87bffee4-7249-419b-b4c1-8edeeb732d55\"},\"palette\":{\"primary\":\"#111827\",\"secondary\":\"#E5E7EB\",\"accent\":\"#F97316\",\"background\":\"#FFFFFF\",\"foreground\":\"#111827\",\"semantic\":{}},\"typography\":{\"heading\":{\"family\":\"Inter\",\"weights\":[700],\"fallback\":[\"sans-serif\"]},\"body\":{\"family\":\"Inter\",\"weights\":[400,600],\"fallback\":[\"sans-serif\"]}},\"layout\":{\"radius\":16,\"spacingScale\":[4,8,16],\"logoPlacement\":\"top-left\"},\"imagery\":{\"direction\":\"Bold, graphic, product-led.\",\"avoid\":[\"generic stock photography\"]}},\"verbal\":{\"positioning\":\"Enterprise-grade software without enterprise-era waste.\",\"audiences\":[\"small businesses\"],\"valuePropositions\":[\"One connected software ecosystem\"],\"tone\":[\"bold\",\"direct\"],\"do\":[\"Use specific proof\"],\"dont\":[\"Use unsupported superlatives\"],\"bannedTerms\":[\"guaranteed riches\"]},\"claims\":[],\"ctas\":[],\"assets\":[{\"id\":\"brand_asset_87bffee4-7249-419b-b4c1-8edeeb732d55\",\"kind\":\"logo\",\"name\":\"Fixture logo\",\"url\":\"/api/brand-assets/brand_asset_87bffee4-7249-419b-b4c1-8edeeb732d55/content\",\"mimeType\":\"image/svg+xml\"},{\"id\":\"brand_asset_dce3c24f-65dd-4579-913f-9ffbf74619c9\",\"kind\":\"logo\",\"name\":\"Fixture email logo\",\"url\":\"/api/brand-assets/brand_asset_dce3c24f-65dd-4579-913f-9ffbf74619c9/content\",\"mimeType\":\"image/png\",\"altText\":\"Fixture email identity\"}],\"accessibility\":{\"minimumContrast\":4.5,\"requireAltText\":true,\"reducedMotion\":true},\"legal\":{\"requiredDisclosures\":[],\"prohibitedTopics\":[]},\"communications\":{\"emailLogoAssetId\":\"brand_asset_dce3c24f-65dd-4579-913f-9ffbf74619c9\",\"senderDisplayName\":\"Fixture identity\",\"replyToAddress\":\"reply@example.invalid\",\"supportAddress\":\"support@example.invalid\",\"legalFooter\":{\"entityName\":\"Fixture identity Ltd\",\"registeredAddress\":\"1 Fixture Street, Example City\",\"companyNumber\":\"FIXTURE-001\"},\"unsubscribeText\":\"Manage your message preferences.\",\"footerText\":\"Synthetic documentation example.\"}}",
      "change_note": "Ready for review",
      "created_by_user_id": "usr_documentation_fixture",
      "created_by_email": "reviewer@example.invalid",
      "published_by_user_id": "usr_documentation_fixture",
      "published_by_email": "reviewer@example.invalid",
      "created_at": "2026-10-03T11:23:59.115Z",
      "updated_at": "2026-10-03T11:23:59.118Z",
      "published_at": "2026-10-03T11:23:59.118Z"
    }
  ],
  "assets": [
    {
      "id": "brand_asset_87bffee4-7249-419b-b4c1-8edeeb732d55",
      "organization_id": "org_documentation_fixture",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "kind": "logo",
      "name": "Fixture logo",
      "mime_type": "image/svg+xml",
      "storage_key": "org_documentation_fixture/brand_55886012-13a4-4e95-ad31-3fe2b52cdf20/brand_asset_87bffee4-7249-419b-b4c1-8edeeb732d55",
      "license": "Fixture-only artwork",
      "alt_text": "Fixture identity",
      "status": "ready",
      "created_at": "2026-10-03T11:23:59.106Z",
      "updated_at": "2026-10-03T11:23:59.107Z",
      "contentPath": "/api/brand-assets/brand_asset_87bffee4-7249-419b-b4c1-8edeeb732d55/content"
    },
    {
      "id": "brand_asset_dce3c24f-65dd-4579-913f-9ffbf74619c9",
      "organization_id": "org_documentation_fixture",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "kind": "logo",
      "name": "Fixture email logo",
      "mime_type": "image/png",
      "storage_key": "org_documentation_fixture/brand_55886012-13a4-4e95-ad31-3fe2b52cdf20/brand_asset_dce3c24f-65dd-4579-913f-9ffbf74619c9",
      "license": null,
      "alt_text": "Fixture email identity",
      "status": "ready",
      "created_at": "2026-10-03T11:23:59.114Z",
      "updated_at": "2026-10-03T11:23:59.114Z",
      "contentPath": "/api/brand-assets/brand_asset_dce3c24f-65dd-4579-913f-9ffbf74619c9/content"
    }
  ],
  "auditEvents": [
    {
      "id": "brand_audit_44732fc2-8097-436c-8a60-3793f91ae3cc",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_kit.created",
      "entity_type": "brand_kit",
      "entity_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.104Z"
    },
    {
      "id": "brand_audit_10a281af-347c-435a-a764-4c2f6514de00",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_kit.updated",
      "entity_type": "brand_kit",
      "entity_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.105Z"
    },
    {
      "id": "brand_audit_d13d9306-2611-4750-8887-81e236bae6d9",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_asset.registered",
      "entity_type": "brand_asset",
      "entity_id": "brand_asset_87bffee4-7249-419b-b4c1-8edeeb732d55",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.106Z"
    },
    {
      "id": "brand_audit_87d3ea96-ee60-4942-88f1-40efd261cbc4",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_asset.ready",
      "entity_type": "brand_asset",
      "entity_id": "brand_asset_87bffee4-7249-419b-b4c1-8edeeb732d55",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.107Z"
    },
    {
      "id": "brand_audit_4d0c4bd4-501a-4a1f-9ac3-1050a7ca3d87",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_asset.ready",
      "entity_type": "brand_asset",
      "entity_id": "brand_asset_dce3c24f-65dd-4579-913f-9ffbf74619c9",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.114Z"
    },
    {
      "id": "brand_audit_92bdc321-4823-4177-8ee3-c82ea2e2889c",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_asset.registered",
      "entity_type": "brand_asset",
      "entity_id": "brand_asset_dce3c24f-65dd-4579-913f-9ffbf74619c9",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.114Z"
    },
    {
      "id": "brand_audit_5a618504-bd20-46ee-a08d-96acf0826ae0",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_version.created",
      "entity_type": "brand_version",
      "entity_id": "brand_version_d00e1d23-0626-418b-ba5c-e9c02b746293",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.115Z"
    },
    {
      "id": "brand_audit_3678cb33-01c7-4c39-a0eb-ce2b11e48c93",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_version.updated",
      "entity_type": "brand_version",
      "entity_id": "brand_version_d00e1d23-0626-418b-ba5c-e9c02b746293",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.117Z"
    },
    {
      "id": "brand_audit_f007717a-1590-49b1-9583-603193fce807",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_version.published",
      "entity_type": "brand_version",
      "entity_id": "brand_version_d00e1d23-0626-418b-ba5c-e9c02b746293",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.118Z"
    },
    {
      "id": "brand_audit_46f90b47-1802-4cc7-8ec8-09cd26a7786b",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_version.review_requested",
      "entity_type": "brand_version",
      "entity_id": "brand_version_d00e1d23-0626-418b-ba5c-e9c02b746293",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "metadata_json": "{\"reviewerUserId\":\"usr_second_fixture_reviewer\"}",
      "created_at": "2026-10-03T11:23:59.118Z"
    },
    {
      "id": "brand_audit_7bd476d9-3fa3-41f1-9db9-28a9089e7885",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_binding.upserted",
      "entity_type": "brand_binding",
      "entity_id": "brand_binding_813652d7-03ee-4cb3-b08c-001b1ba912f1",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.119Z"
    },
    {
      "id": "brand_audit_eb882ac6-9391-4fd0-a2a9-a0d1851fef08",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_kit.retired",
      "entity_type": "brand_kit",
      "entity_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.122Z"
    },
    {
      "id": "brand_audit_0de061dd-c2cc-4dd2-bf4c-9f4ae757a1d2",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_version.discarded",
      "entity_type": "brand_version",
      "entity_id": "brand_version_5b7e9b88-e616-4797-aef7-1c5bd094eeed",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "metadata_json": "{}",
      "created_at": "2026-10-03T11:23:59.122Z"
    },
    {
      "id": "brand_audit_b070cf55-0aee-4ccf-b7e5-70a37acc0bd4",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_version.restored",
      "entity_type": "brand_version",
      "entity_id": "brand_version_5b7e9b88-e616-4797-aef7-1c5bd094eeed",
      "brand_kit_id": "brand_55886012-13a4-4e95-ad31-3fe2b52cdf20",
      "metadata_json": "{\"restoredFromVersion\":\"1\",\"restoredFromId\":\"brand_version_d00e1d23-0626-418b-ba5c-e9c02b746293\"}",
      "created_at": "2026-10-03T11:23:59.122Z"
    },
    {
      "id": "brand_audit_5f1f9b0a-552d-47d5-b4ec-af6840402713",
      "organization_id": "org_documentation_fixture",
      "actor_user_id": "usr_documentation_fixture",
      "actor_email": "reviewer@example.invalid",
      "action": "brand_kit.deleted",
      "entity_type": "brand_kit",
      "entity_id": "brand_191615fc-d1d8-4127-9403-d80b987dd7a7",
      "brand_kit_id": "brand_191615fc-d1d8-4127-9403-d80b987dd7a7",
      "metadata_json": "{\"name\":\"Disposable draft\",\"slug\":\"disposable-workflow\",\"workspaceId\":\"ws_brand_documentation_fixture\"}",
      "created_at": "2026-10-03T11:23:59.123Z"
    }
  ]
}

The export uses raw SQL column names, including snapshot_json and metadata_json serialized JSON strings. assets[].contentPath is an authenticated download path, not the bytes themselves. Workspace identity may be null.

Verify the result

Check organizationId and workspaceId, preserve the complete JSON export, and separately download each required asset before an authorized deletion.

Errors and recovery

  • auth_error (HTTP 401): CLI/SDK authentication classification when Auth returns a non-code message: restore the authorized credential, then verify whoami and context. Preserve the exact service message.

  • permission_denied (HTTP 403): Use the exact permission and granted resource required by the reviewed action; organization membership alone is insufficient.

  • workspace_required (HTTP 400): Discover and select a granted Brand workspace before preparing the request.

  • brand_storage_unavailable (HTTP 503): The Brand storage bindings are unavailable. Preserve the request identifier and report the service fault; do not retry an unverified mutation.

Recovery boundary

This read or validation does not change Brand service state.

  • app_topolo_brand.brand_assets.download: Download authenticated content for a ready Brand asset.
  • app_topolo_brand.privacy.delete: Permanently erase Brand data and stored asset objects for the selected workspace.

Evidence

Four real local SQLite stores use all canonical migrations; Auth identity/grants and archival plus R2 object storage are explicitly simulated. Notifications are disabled in fixtures. No notification delivery, live mutation, gateway credential parity or deployed environment proof is claimed. Fixture identifiers and timestamps are synthetic and must be replaced by exact authorized resource discovery.