[Yandex Cloud documentation](../../../../index.md) > [Yandex IoT Core](../../../index.md) > Devices API reference > [gRPC](../index.md) > [Registry](index.md) > List

# IoT Core Service, gRPC: RegistryService.List

Retrieves the list of registries in the specified folder.

## gRPC request

**rpc List ([ListRegistriesRequest](#yandex.cloud.iot.devices.v1.ListRegistriesRequest)) returns ([ListRegistriesResponse](#yandex.cloud.iot.devices.v1.ListRegistriesResponse))**

## ListRegistriesRequest {#yandex.cloud.iot.devices.v1.ListRegistriesRequest}

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

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

Required field. ID of the folder to list registries in.
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 50. ||
|| page_size | **int64**

The maximum number of results per page that should be returned. If the number of available
results is larger than `page_size`, the service returns a [ListRegistriesResponse.next_page_token](#yandex.cloud.iot.devices.v1.ListRegistriesResponse)
that can be used to get the next page of results in subsequent list requests.
Default value: 100.

Acceptable values are 0 to 1000, inclusive. ||
|| page_token | **string**

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

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

## ListRegistriesResponse {#yandex.cloud.iot.devices.v1.ListRegistriesResponse}

```json
{
  "registries": [
    {
      "id": "string",
      "folder_id": "string",
      "created_at": "google.protobuf.Timestamp",
      "name": "string",
      "description": "string",
      "labels": "map<string, string>",
      "status": "Status",
      "log_group_id": "string",
      "log_options": {
        // Includes only one of the fields `log_group_id`, `folder_id`
        "log_group_id": "string",
        "folder_id": "string",
        // end of the list of possible fields
        "disabled": "bool",
        "min_level": "Level"
      }
    }
  ],
  "next_page_token": "string"
}
```

#|
||Field | Description ||
|| registries[] | **[Registry](#yandex.cloud.iot.devices.v1.Registry)**

List of registries. ||
|| next_page_token | **string**

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

## Registry {#yandex.cloud.iot.devices.v1.Registry}

A registry. For more information, see [Registry](../../../concepts/index.md#registry).

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

ID of the registry. ||
|| folder_id | **string**

ID of the folder that the registry belongs to. ||
|| created_at | **[google.protobuf.Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#timestamp)**

Creation timestamp. ||
|| name | **string**

Name of the registry. The name is unique within the folder. ||
|| description | **string**

Description of the registry. 0-256 characters long. ||
|| labels | **object** (map<**string**, **string**>)

Resource labels as `key:value` pairs. Maximum of 64 per resource. ||
|| status | enum **Status**

Status of the registry.

- `CREATING`: Registry is being created.
- `ACTIVE`: Registry is ready to use.
- `DELETING`: Registry is being deleted.
- `DISABLED`: Registry is disabled. ||
|| log_group_id | **string**

ID of the logs group for the specified registry. ||
|| log_options | **[LogOptions](#yandex.cloud.iot.devices.v1.LogOptions)**

Options for logging registry events ||
|#

## LogOptions {#yandex.cloud.iot.devices.v1.LogOptions}

#|
||Field | Description ||
|| log_group_id | **string**

Entry should be written to log group resolved by ID.

Value must match the regular expression ` ([a-zA-Z][-a-zA-Z0-9_.]{0,63})? `.

Includes only one of the fields `log_group_id`, `folder_id`.

Log entries destination. ||
|| folder_id | **string**

Entry should be written to default log group for specified folder.

Value must match the regular expression ` ([a-zA-Z][-a-zA-Z0-9_.]{0,63})? `.

Includes only one of the fields `log_group_id`, `folder_id`.

Log entries destination. ||
|| disabled | **bool**

Is logging from registry disabled. ||
|| min_level | enum **Level**

Minimum log entry level.
See [LogLevel.Level](../../../../logging/api-ref/grpc/Export/get.md#yandex.cloud.logging.v1.LogLevel.Level) for details.

- `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. ||
|#