---
type: api
title: Get list privileges
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v8/operation/operation-readlistprivileges
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/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`

## Description

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

## Authentication

- Api key: `Authorization: <value>`
  These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: `Authorization: ApiKey base64AccessApiKey`
- Basic: `Authorization: Basic <credentials>`

## Responses

#### `200`

Successful response

`application/json`

- `is_authenticated` (boolean)
- `listItems` (object)
  - `application` (map string to boolean)
  - `cluster` (map string to boolean)
  - `has_all_requested` (boolean)
  - `index` (map string to string to boolean)
  - `username` (string)
- `lists` (object)
  - `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:
- **{ error, statusCode }**
  - `error` (string)
  - `message` (string)
  - `statusCode` (integer)
- **{ status_code }**
  - `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 kbn:/api/lists/privileges
```

#### curl

```curl
curl -X GET "${KIBANA_URL}/api/lists/privileges" \
  -H "Authorization: ApiKey ${API_KEY}"
```

