[Yandex Cloud documentation](../../../../index.md) > [Monium](../../../index.md) > API reference > Logs > [gRPC](../index.md) > [Export](index.md) > List

# Cloud Logging Service, gRPC: ExportService.List

Retrieves the list of exports in the specified folder.

## gRPC request

**rpc List ([ListExportsRequest](#yandex.cloud.logging.v1.ListExportsRequest)) returns ([ListExportsResponse](#yandex.cloud.logging.v1.ListExportsResponse))**

## ListExportsRequest {#yandex.cloud.logging.v1.ListExportsRequest}

```json
{
  "folder_id": "string",
  "page_size": "int64",
  "page_token": "string",
  "filter": "string"
}
```

#|
||Field | Description ||
|| folder_id | **string**

Required field. Folder ID of the exports to return.
To get a folder ID make a [yandex.cloud.resourcemanager.v1.FolderService.List](../../../../resource-manager/api-ref/grpc/Folder/list.md#List) request.

The maximum string length in characters is 64. ||
|| page_size | **int64**

The maximum number of results per page to return. If the number of available
results is larger than `page_size`, the service returns a [ListExportssResponse.next_page_token]
that can be used to get the next page of results in subsequent list requests.
Default value: 100. ||
|| page_token | **string**

Page token. To get the next page of results, set `page_token` to the
[ListExportsResponse.next_page_token](#yandex.cloud.logging.v1.ListExportsResponse) returned by a previous list request.

The maximum string length in characters is 100. ||
|| filter | **string**

A filter expression that filters exports listed in the response.
The expression must specify:
1. The field name. Currently filtering can only be applied to the [Export.name](#yandex.cloud.logging.v1.Export) field.
2. An `=` operator.
3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
Example of a filter: `name="my-export"`.

The maximum string length in characters is 1000. ||
|#

## ListExportsResponse {#yandex.cloud.logging.v1.ListExportsResponse}

```json
{
  "exports": [
    {
      "id": "string",
      "folder_id": "string",
      "cloud_id": "string",
      "created_at": "google.protobuf.Timestamp",
      "name": "string",
      "description": "string",
      "labels": "map<string, string>",
      "group_id": "string",
      "sink_id": "string",
      "params": {
        "resource_types": [
          "string"
        ],
        "resource_ids": [
          "string"
        ],
        "stream_names": [
          "string"
        ],
        "levels": [
          "Level"
        ],
        "filter": "string"
      }
    }
  ],
  "next_page_token": "string"
}
```

#|
||Field | Description ||
|| exports[] | **[Export](#yandex.cloud.logging.v1.Export)**

List of exports in the specified folder. ||
|| next_page_token | **string**

Token for getting the next page of the list. If the number of results is greater than
the specified [ListExportsRequest.page_size](#yandex.cloud.logging.v1.ListExportsRequest), use `next_page_token` as the value
for the [ListExportsRequest.page_token](#yandex.cloud.logging.v1.ListExportsRequest) parameter in the next list request.
Each subsequent page will have its own `next_page_token` to continue paging through the results. ||
|#

## Export {#yandex.cloud.logging.v1.Export}

#|
||Field | Description ||
|| id | **string**

Export ID. ||
|| folder_id | **string**

Export folder ID. ||
|| cloud_id | **string**

Export cloud ID. ||
|| created_at | **[google.protobuf.Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#timestamp)**

Export creation time. ||
|| name | **string**

Export name. ||
|| description | **string**

Export description. ||
|| labels | **object** (map<**string**, **string**>)

Export lables. ||
|| group_id | **string**

Group logs are exported from. ||
|| sink_id | **string**

Sink logs are exported to. ||
|| params | **[ExportParams](#yandex.cloud.logging.v1.ExportParams)**

Parameters of logs filtration. ||
|#

## ExportParams {#yandex.cloud.logging.v1.ExportParams}

#|
||Field | Description ||
|| resource_types[] | **string**

The maximum string length in characters for each value is 63. The maximum number of elements is 100. ||
|| resource_ids[] | **string**

The maximum string length in characters for each value is 63. The maximum number of elements is 100. ||
|| stream_names[] | **string**

The maximum string length in characters for each value is 63. The maximum number of elements is 100. ||
|| levels[] | enum **Level**

The maximum number of elements is 10.

- `TRACE`: Trace log level.
Possible use case: verbose logging of some business logic.
- `DEBUG`: Debug log level.
Possible use case: debugging special cases in application logic.
- `INFO`: Info log level.
Mostly used for information messages.
- `WARN`: Warn log level.
May be used to alert about significant events.
- `ERROR`: Error log level.
May be used to alert about errors in infrastructure, logic, etc.
- `FATAL`: Fatal log level.
May be used to alert about unrecoverable failures and events. ||
|| filter | **string**

The maximum string length in characters is 1000. ||
|#