---
search:
  tags:
    - Access
    - GET
seo:
  description: >-
    List sessions. Reference for the GET /sessions endpoint in the piecemeal
    API.
sidebar:
  label: List sessions
  badge: GET
title: List sessions
type: openapi-operation
---
`GET /sessions`

**Responses**

- `200` — OK
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

Response example, 200:

```json
{
  "items": [
    {
      "createdAt": "2019-08-24T14:15:22Z",
      "current": true,
      "expiresAt": "2019-08-24T14:15:22Z",
      "id": "string",
      "ip": "string",
      "kind": "web",
      "lastSeenAt": "2019-08-24T14:15:22Z",
      "userAgent": "string",
      "userId": 0,
      "username": "string"
    }
  ]
}
```
