All requests below will use this key. Your API key is sent directly to api.cueapi.ai and never stored by the docs site.

GET/v1/auth/me/export

Export Personal Data

Download all personal data and account history as a JSON file. GDPR Right to Data Portability.

Returns all personal data we hold on the authenticated user as a single JSON file, with Content-Disposition: attachment for browser-driven downloads.

This is the GDPR Right to Data Portability endpoint (Article 20).

Note

Rate limited to 1 export per hour per user. A second export within the cooldown returns 429 export_rate_limited.

Request

bash
curl https://api.cueapi.ai/v1/auth/me/export \
  -H "Authorization: Bearer cue_sk_YOUR_KEY" \
  -o cueapi-data-export.json

Response

json
{
  "schema_version": "1.0",
  "generated_at": "2026-04-19T22:00:00Z",
  "user": {
    "id": "u_a1b2c3",
    "email": "[email protected]",
    "plan": "pro",
    "created_at": "2026-01-15T10:32:00Z",
    "...": "(api_key_hash and webhook_secret redacted for security)"
  },
  "cues": [
    {
      "id": "cue_xyz",
      "name": "daily-sync",
      "schedule": { "type": "recurring", "cron": "0 9 * * *" },
      "...": "..."
    }
  ],
  "executions": [
    "(last 90 days, deduplicated)"
  ],
  "api_keys": [
    {"id": "...", "label": "default", "created_at": "...", "last_used_at": "..."}
  ],
  "alerts": [],
  "billing_events": [],
  "audit_log": []
}

What's included

  • user — profile (sensitive credentials redacted)
  • cues — every cue you own
  • executions — last 90 days
  • api_keys — metadata only (no plaintext, no hashes)
  • alerts — alert history
  • billing_events — Stripe events for your customer
  • audit_logapi_key_audit_log entries

What's excluded

  • API key plaintext or hashes
  • Webhook signing secret
  • Encrypted columns (api_key_encrypted)
  • Other users' data, even on shared resources

Errors

StatusCodeCause
401not_authenticatedMissing/invalid bearer token
429export_rate_limitedAlready exported within the last hour
GET/v1/auth/me/export
Try it
Enter your API key above to send requests
How do I know if my agent ran successfully?
Ctrl+K