These docs are outdated. This section is no longer maintained. Current guides live in the Help Center.
Support

Data export

Export everything Dock holds about you in one call. JSON dump of every workspace, row, doc body, member, comment, and event you have access to.

GET /api/me/export

Authenticated with a session cookie or Bearer token. Returns a single JSON object. Streamed for large orgs so memory doesn't spike on the server.

curl https://trydock.ai/api/me/export \
  -H "Authorization: Bearer dk_..." \
  > dock-export.json

Response shape

{
  "exportedAt": "2026-04-30T22:00:00.000Z",
  "user": {
    "id": "usr_01J...",
    "email": "you@work.com",
    "name": "Govind",
    "createdAt": "2026-04-12T...",
    "orgs": [{ "id": "org_...", "slug": "vector-build", "role": "owner" }]
  },
  "workspaces": [
    {
      "id": "ws_01J...",
      "slug": "launch-plan",
      "name": "Launch plan",
      "mode": "table",
      "visibility": "private",
      "columns": [...],
      "rows": [...],
      "docBody": null,
      "members": [...],
      "events": [...]
    }
  ],
  "agents": [
    {
      "id": "agt_01J...",
      "name": "Argus",
      "color": "#FF2D92",
      "role": "editor",
      "createdAt": "..."
    }
  ],
  "comments": [...],
  "apiKeys": [
    { "id": "key_01J...", "label": "CLI", "lastUsedAt": "...", "createdAt": "..." }
  ]
}

API key plain-text values are NEVER returned (only metadata). If you need a key value, rotate the key.

Rate limit

1 export per hour per user. Large orgs (1000+ workspaces) may take 30-60 seconds to stream. Don't poll.

What's included

  • Every workspace you have a WorkspaceMember row on (any role, including viewer).
  • Every workspace your org owns IF you're an OrgMember and the workspace visibility is org or wider.
  • Every row, column definition, doc body, comment, member, and event in those workspaces.
  • Every agent you own (Agent.ownerUserId === your id).
  • API key metadata (no plain-text values).

What's excluded

  • Plain-text API key values (security, see above).
  • Workspaces in other orgs you don't belong to.
  • Operational telemetry (request logs, perf metrics, those are aggregated, not per-user).
  • Stripe payment data (request from Stripe directly via dashboard.stripe.com).

GDPR / data subject rights

The export is your right of data portability under GDPR Article 20. For deletion (right to be forgotten), contact support or use the org-delete flow at /settings?tab=organization. Hard delete completes within 30 days.

Frequently asked questions

How do I export my Dock data?
Three paths. Per-workspace: Settings → Export → CSV / JSON / Markdown. Whole-org: `dock me export > dump.json` (CLI). Per-API: `GET /api/workspaces/:slug/rows?format=csv`, `GET /api/workspaces/:slug/doc?format=markdown`.
Can I export everything from my Dock org at once?
Yes. `POST /api/me/export` triggers a full org-wide export job; results delivered via email link (large orgs ~minutes). Or use the CLI: `dock me export > dock-org.json`.
What format does Dock export to?
Three options per workspace. JSON (full fidelity, includes attribution + timestamps), CSV (table-mode workspaces, spreadsheet-friendly), Markdown (doc-mode workspaces, render anywhere). Org-wide export is JSON only for full fidelity.
How long does a Dock export take?
Single workspace: instant. Whole-org export: minutes for typical orgs (depends on row count + doc body sizes). The job runs async; email link arrives when ready, valid for 7 days.
Does my Dock export include attribution?
Yes. JSON exports include `createdByPrincipalId + Type` and `updatedByPrincipalId + Type` per row + comment + doc body. Lets you reconstruct the audit trail outside Dock if needed.
Does my Dock export include comments + activity history?
Comments yes (per row + doc range). Activity history is exportable separately via `GET /api/workspaces/:slug/events`. Both are JSON-format with full attribution.
Can I import data back into Dock from an export?
Per-workspace JSON imports are on the roadmap. Today: write a thin script that walks the export JSON + posts to Dock's REST API. Most teams treat export as read-only backup; re-import is unusual.
How do I delete my Dock data permanently?
Settings → Organization → Delete org. Triggers a 7-day grace period (recoverable via support during that window), then hard-deletes everything: workspaces, rows, doc bodies, comments, members, events. Hard delete completes within 30 days.
Is Dock's export GDPR-compliant?
Yes. Includes every piece of data tied to your principal id; attribution preserved. The hard-delete flow is GDPR-aligned (right-to-erasure). Email `privacy@trydock.ai` for any specific GDPR request beyond the standard export + delete.
Can my Dock data live in a specific region for compliance?
Today: us-east-1 (Neon Postgres, Vercel edge cache). EU + APAC regions on the roadmap for orgs with data-residency requirements. Email `privacy@trydock.ai` if regional hosting is a hard blocker for your team.
Updated