---
type: api
title: Get list privileges
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v8/operation/operation-readlistprivileges
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v8/operation/operation-readlistprivileges
products:
  - Kibana
---

# Get list privileges

- Server: `https://{kibana_url}`

## Paths

- `GET` `/api/lists/privileges`
- `GET` `/s/{space_id}/api/lists/privileges`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v8/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v8/authentication#basicauth)

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

## Responses

#### `200`

Successful response

`application/json`

- `is_authenticated` (boolean)
- `listItems` ({})
  - `application` (map string to boolean)
  - `cluster` (map string to boolean)
  - `has_all_requested` (boolean)
  - `index` (map string to string to boolean)
  - `username` (string)
- `lists` ({})
  - `application` (map string to boolean)
  - `cluster` (map string to boolean)
  - `has_all_requested` (boolean)
  - `index` (map string to string to boolean)
  - `username` (string)
#### `400`

Invalid input data response

`application/json`

One of:
- **PlatformErrorResponse**
  - `error` (string)
  - `message` (string)
  - `statusCode` (integer)
- **SiemErrorResponse**
  - `message` (string)
  - `status_code` (integer)
#### `401`

Unsuccessful authentication response

`application/json`

- `error` (string)
- `message` (string)
- `statusCode` (integer)
#### `403`

Not enough privileges response

`application/json`

- `error` (string)
- `message` (string)
- `statusCode` (integer)
#### `500`

Internal server error response

`application/json`

- `message` (string)
- `status_code` (integer)
## Code Examples

#### Console

```console
GET /api/lists/privileges
```

#### curl

```curl
curl -X GET "https://{kibana_url}/api/lists/privileges"
```

