Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Managed Service for ClickHouse®
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Update
        • Delete
  • Yandex Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes

In this article:

  • HTTP request
  • Path parameters
  • Query parameters
  • Response
  • FormatSchema
  1. API reference
  2. REST
  3. FormatSchema
  4. List

Managed Service for ClickHouse API, REST: FormatSchema.List

Written by
Yandex Cloud
Updated at November 26, 2024
  • HTTP request
  • Path parameters
  • Query parameters
  • Response
  • FormatSchema

Returns a list of format schemas in a cluster.

HTTP requestHTTP request

GET https://mdb.api.cloud.yandex.net/managed-clickhouse/v1/clusters/{clusterId}/formatSchemas

Path parametersPath parameters

Field

Description

clusterId

string

Required field. ClickHouse cluster ID.

To get a ClickHouse cluster ID, use the ClusterService.List method.

Query parametersQuery parameters

Field

Description

pageSize

string (int64)

The maximum number of results per page to return. If the number of the results is larger than pageSize, the service returns ListFormatSchemasResponse.nextPageToken. You can use it to get the next page of the results in subsequent requests of a format schema list.

pageToken

string

Page token. To get the next page of results, set pageToken to the ListFormatSchemasResponse.nextPageToken returned by the previous format schema list request.

ResponseResponse

HTTP Code: 200 - OK

{
  "formatSchemas": [
    {
      "name": "string",
      "clusterId": "string",
      "type": "string",
      "uri": "string"
    }
  ],
  "nextPageToken": "string"
}

Field

Description

formatSchemas[]

FormatSchema

List of format schemas.

nextPageToken

string

This token allows you to get the next page of results when requesting the format schema list. If the number of the results is larger than ListFormatSchemasRequest.pageSize, use the nextPageToken as the value for the ListFormatSchemasRequest.pageToken parameter in the next request. Each subsequent request will have its own nextPageToken to continue paging through the results.

FormatSchemaFormatSchema

Field

Description

name

string

Format schema name.

clusterId

string

ClickHouse cluster ID.

type

enum (FormatSchemaType)

Schema type. Possible values are the following:

  • FORMAT_SCHEMA_TYPE_PROTOBUF - Protobuf data format (including ProtobufSingle).
  • FORMAT_SCHEMA_TYPE_CAPNPROTO - Cap'n Proto data format.
  • FORMAT_SCHEMA_TYPE_UNSPECIFIED
  • FORMAT_SCHEMA_TYPE_PROTOBUF
  • FORMAT_SCHEMA_TYPE_CAPNPROTO

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.

Was the article helpful?

Previous
Get
Next
Create
© 2025 Direct Cursus Technology L.L.C.