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.

  • Privacy — what we store and don't store.
  • Security — how data is protected at rest and in transit.