[Yandex Cloud documentation](../../../../index.md) > [Yandex Managed Service for ClickHouse®](../../../index.md) > API reference > [gRPC](../index.md) > [FormatSchema](index.md) > Get

# Managed Service for ClickHouse API, gRPC: FormatSchemaService.Get

Returns detailed information about a given format schema.

## gRPC request

**rpc Get ([GetFormatSchemaRequest](#yandex.cloud.mdb.clickhouse.v1.GetFormatSchemaRequest)) returns ([FormatSchema](#yandex.cloud.mdb.clickhouse.v1.FormatSchema))**

## GetFormatSchemaRequest {#yandex.cloud.mdb.clickhouse.v1.GetFormatSchemaRequest}

```json
{
  "cluster_id": "string",
  "format_schema_name": "string"
}
```

#|
||Field | Description ||
|| cluster_id | **string**

Required field. ClickHouse cluster ID.
To get a ClickHouse cluster ID, use the [ClusterService.List](../Cluster/list.md#List) method.

The maximum string length in characters is 50. ||
|| format_schema_name | **string**

Required field. Format schema name.
To get a format schema name, use the [FormatSchemaService.List](list.md#List) method.

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

## FormatSchema {#yandex.cloud.mdb.clickhouse.v1.FormatSchema}

```json
{
  "name": "string",
  "cluster_id": "string",
  "type": "FormatSchemaType",
  "uri": "string"
}
```

#|
||Field | Description ||
|| name | **string**

Format schema name. ||
|| cluster_id | **string**

ClickHouse cluster ID. ||
|| type | enum **FormatSchemaType**

Schema type. Possible values are the following:
* FORMAT_SCHEMA_TYPE_PROTOBUF - [Protobuf](https://protobuf.dev/) data format (including [ProtobufSingle](https://clickhouse.com/docs/en/interfaces/formats#protobufsingle)).
* FORMAT_SCHEMA_TYPE_CAPNPROTO - [Cap'n Proto](https://capnproto.org/) data format.

- `FORMAT_SCHEMA_TYPE_PROTOBUF`: [Protobuf](https://protobuf.dev/) data format (including [ProtobufSingle](https://clickhouse.com/docs/en/interfaces/formats#protobufsingle)).
- `FORMAT_SCHEMA_TYPE_CAPNPROTO`: [Cap'n Proto](https://capnproto.org/) data format. ||
|| uri | **string**

Link to the file of a format schema in Yandex Object Storage. Managed Service for ClickHouse works only with format schemas imported to Object Storage. ||
|#