# GET /v1/users/me/export - Export current user's data

Source: <https://everruns.com/docs/api/operations/export_user_data/>

GET

/v1/users/me/export

Select code samplecURL (shell:curl)

```js
const url = 'https://app.everruns.com/api/v1/users/me/export';
const options = {method: 'GET'};


try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```sh
curl --request GET \
  --url https://app.everruns.com/api/v1/users/me/export
```

* Production APIapp.everruns.com/api/v1/users/me/export

Returns all user-owned data in a structured JSON format for GDPR compliance.

## Responses

### 200

User data export

Media typeapplication/json

Full user data export response (GDPR compliance)

object

**exported\_at**

required

Timestamp the export was generated (RFC 3339).

string format: date-time

**organizations**

required

All organizations the user is a member of, plus their role in each.

Array\<object>

Exported organization membership

object

**name**

required

Human-readable name. Safe to render in user-facing messages.

string

**org\_id**

required

Owning organization’s internal numeric id (not part of the public identifier surface).

integer format: int64

**public\_id**

required

Prefixed public identifier. See [ID Schema](https://everruns.com/docs/advanced/id-schema/).

string

**role**

required

User’s role within this organization (`owner`, `admin`, `member`).

string

**personal\_access\_tokens**

required

Personal access tokens owned by the user (no sensitive secrets — just metadata).

Array\<object>

Exported personal access token metadata (no sensitive data)

object

**created\_at**

required

Timestamp when this resource was created (RFC 3339).

string format: date-time

**expires\_at**

Expiry timestamp (RFC 3339). `None` for non-expiring tokens.

string | null format: date-time

**id**

required

Prefixed public identifier. See [ID Schema](https://everruns.com/docs/advanced/id-schema/).

string

**last\_used\_at**

Timestamp of the token’s most recent successful use (RFC 3339). `None` if never used.

string | null format: date-time

**name**

required

Human-readable name. Safe to render in user-facing messages.

string

**scopes**

required

Granted scopes as a JSON array of strings.

Array\<string>

**token\_prefix**

required

First few characters of the token, safe to display for identification.

string

**user**

required

Profile data for the exporting user.

object

**auth\_provider**

Auth provider that issued this identity (`google`, `github`, `password`, etc.).

string | null

**avatar\_url**

URL to the user’s avatar image. `None` when the user hasn’t set one.

string | null

**created\_at**

required

Timestamp when this resource was created (RFC 3339).

string format: date-time

**email**

required

Email address associated with the user account.

string

**email\_verified**

required

Whether the user’s email address has been verified via the auth provider.

boolean

**id**

required

Prefixed public identifier. See [ID Schema](https://everruns.com/docs/advanced/id-schema/).

string

**name**

required

Human-readable name. Safe to render in user-facing messages.

string

**updated\_at**

required

Timestamp when this resource was last updated (RFC 3339).

string format: date-time

##### Example

```json
{
  "exported_at": "2026-05-25T12:00:00Z",
  "organizations": [
    {
      "name": "Acme Corp",
      "org_id": 42,
      "public_id": "org_01933b5a000070008000000000000001",
      "role": "owner"
    }
  ],
  "personal_access_tokens": [
    {
      "created_at": "2026-01-15T10:30:00Z",
      "expires_at": "2027-01-01T00:00:00Z",
      "id": "019e8957539a7aa0bb92e0d2b49427b1",
      "last_used_at": "2026-05-25T09:14:00Z",
      "name": "CI/CD deploy token",
      "scopes": [
        "sessions:read",
        "sessions:write"
      ],
      "token_prefix": "evr_pat_x4z2..."
    }
  ],
  "user": {
    "auth_provider": "google",
    "avatar_url": "https://cdn.example.com/avatars/alex.png",
    "created_at": "2026-01-15T10:30:00Z",
    "email": "alex@example.com",
    "email_verified": true,
    "id": "user_01933b5a000070008000000000000001",
    "name": "Alex Rivera",
    "updated_at": "2026-04-20T14:22:00Z"
  }
}
```

### 401

Unauthorized

### 404

User not found

### 500

Internal server error