LoguDocs
Open Logu

Me · getAccount

Your account: deleting it and exporting your data

GET /v1/account

What Settings → Account needs: whether the account can be deleted now (deletion.blockers lists the shared workspaces where you are the only Owner of a team, and workspaces with a live Pro subscription), which shared workspaces would be deleted with it, and the latest data export. Humans only.

Who may call it
any signed-in human
Server
https://api.logu.dev

Example#

curl -s "https://api.logu.dev/v1/account" \
  -H "Authorization: Bearer $LOGU_SESSION_TOKEN"

Responses#

200

The account overview.

{
  "email": "ana@example.com",
  "deletion": {
    "graceDays": 30,
    "blockers": [
      {
        "kind": "sole_owner",
        "workspace": {
          "id": "wsp_01J9Z3K4X8V6Q2N5R7T0W1Y3B6",
          "name": "Acme"
        },
        "otherMembers": 2
      }
    ],
    "deletesWorkspaces": []
  },
  "export": {
    "id": "exp_01J9Z3K4X8V6Q2N5R7T0W1Y3B5",
    "status": "ready",
    "requestedAt": "2026-10-12T14:03:11.000Z",
    "readyAt": "2026-10-12T14:05:42.000Z",
    "expiresAt": "2026-10-19T14:05:42.000Z",
    "size": 48213,
    "downloadUrl": "https://api.logu.dev/x/exp_01J9Z3K4X8V6Q2N5R7T0W1Y3B5?exp=1791900000&sig=Zm9yLWRvY3Mtb25seQ",
    "downloadUrlExpiresAt": "2026-10-13T14:05:42.000Z"
  },
  "privacyContact": "privacidade@logu.dev"
}
Response fields
FieldTypeRequiredNotes
emailstringrequired
deletionobjectrequired
deletion.graceDaysintegerrequired
deletion.blockersobject[]required
deletion.blockers[].kind"sole_owner" | "subscription"requiredsole_owner: you're the only Owner of a shared workspace that has other members (transfer ownership or delete the workspace). subscription: a workspace that would be deleted with the account has a live Pro subscription (cancel it first).
deletion.blockers[].workspaceobjectrequired
deletion.blockers[].otherMembersintegerrequired
deletion.deletesWorkspacesobject[]required
deletion.deletesWorkspaces[].idstringrequired
deletion.deletesWorkspaces[].namestringrequired
exportobject | nullrequired
export.idstringrequired
export.status"processing" | "ready" | "failed"required
export.requestedAtstringrequireddate-time
export.readyAtstring | nullrequireddate-time
export.expiresAtstring | nullrequireddate-time
export.sizeinteger | nullrequired
export.downloadUrlstring | nullrequired
export.downloadUrlExpiresAtstring | nullrequireddate-time
privacyContactstringrequired

Errors#

Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.

StatusCodeMeaning
401unauthorizedNo credentials, or the API key or session is invalid or revoked.
403forbiddenThe caller is authenticated but may not do this (wrong role, or an API key on a human-only endpoint).
500internal_errorSomething went wrong on Logu's side.