Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Data Streams
  • Access management
  • Pricing policy
    • Overview
    • All methods
      • CreateStream
      • DecreaseStreamRetentionPeriod
      • DeleteStream
      • DescribeStream
      • IncreaseStreamRetentionPeriod
      • GetRecords
      • GetShardIterator
      • ListStreams
      • PutRecord
      • PutRecords
      • UpdateShardCount
    • Common errors
    • Examples
  • FAQ

In this article:

  • Request
  • Request options
  • Response
  • Response parameters
  • Errors
  1. HTTP API compatible with Amazon Kinesis Data Streams
  2. Methods
  3. DescribeStream

DescribeStream

Written by
Yandex Cloud
Updated at August 15, 2025
  • Request
    • Request options
  • Response
    • Response parameters
  • Errors

Returns information about the data stream.

You can limit the number of shard descriptions per method call using the Limit option.

RequestRequest

The request contains JSON-formatted data.

{
  "ExclusiveStartShardId": "string",
  "Limit": number,
  "StreamName": "string"
}

Request optionsRequest options

Option Description
ExclusiveStartShardId Shard ID. Stream shard information is returned starting from the shard following the specified one. By default, the output begins with the first shard in the stream.

Type: Integer
Allowed values: [a-zA-Z0-9_.-]+
Required: No
Limit The maximum number of shard descriptions returned per method call. If you specify a value greater than 100, the response will contain 100 shard descriptions.

Type: Integer
Allowed values: 1-10000.
Default value: 100
Required: No
StreamName Data stream name.

Type: String
Size: 1-128 characters.
The possible values are: [a-zA-Z][a-zA-Z0-9-]+*(?<!-)$
Required: Yes

ResponseResponse

Successful requests return HTTP 200 with a JSON-formatted response body.

{
  "StreamDescription": {
    "EncryptionType": "string",
    "EnhancedMonitoring": [{
      "ShardLevelMetrics": ["string"]
    }],
    "HasMoreShards": boolean,
    "KeyId": "string",
    "RetentionPeriodHours": number,
    "Shards": [{
      "AdjacentParentShardId": "string",
      "HashKeyRange": {
        "EndingHashKey": "string",
        "StartingHashKey": "string"
      },
      "ParentShardId": "string",
      "SequenceNumberRange": {
        "EndingSequenceNumber": "string",
        "StartingSequenceNumber": "string"
      },
      "ShardId": "string"
    }],
    "StreamCreationTimestamp": number,
    "StreamName": "string",
    "StreamStatus": "string"
  }
}

Response parametersResponse parameters

Parameter Description
StreamDescription Stream status.

Type: Object StreamDescription

ErrorsErrors

Error Description HTTP code
LimitExceededException The request limit is exceeded. 400
ResourceNotFoundException The requested resource was not found. 400

Errors common to all methods may occur.

Was the article helpful?

Previous
DeleteStream
Next
IncreaseStreamRetentionPeriod
© 2025 Direct Cursus Technology L.L.C.