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
| Field | Type | Required | Notes |
|---|---|---|---|
email | string | required | |
deletion | object | required | |
deletion.graceDays | integer | required | |
deletion.blockers | object[] | required | |
deletion.blockers[].kind | "sole_owner" | "subscription" | required | sole_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[].workspace | object | required | |
deletion.blockers[].otherMembers | integer | required | |
deletion.deletesWorkspaces | object[] | required | |
deletion.deletesWorkspaces[].id | string | required | |
deletion.deletesWorkspaces[].name | string | required | |
export | object | null | required | |
export.id | string | required | |
export.status | "processing" | "ready" | "failed" | required | |
export.requestedAt | string | required | date-time |
export.readyAt | string | null | required | date-time |
export.expiresAt | string | null | required | date-time |
export.size | integer | null | required | |
export.downloadUrl | string | null | required | |
export.downloadUrlExpiresAt | string | null | required | date-time |
privacyContact | string | required |
Errors#
Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.
| Status | Code | Meaning |
|---|---|---|
| 401 | unauthorized | No credentials, or the API key or session is invalid or revoked. |
| 403 | forbidden | The caller is authenticated but may not do this (wrong role, or an API key on a human-only endpoint). |
| 500 | internal_error | Something went wrong on Logu's side. |