## Get Stream Details `pipelines.streams.get(strstream_id, StreamGetParams**kwargs) -> StreamGetResponse` **get** `/accounts/{account_id}/pipelines/v1/streams/{stream_id}` Get Stream Details. ### Parameters - `account_id: str` Specifies the public ID of the account. - `stream_id: str` Specifies the public ID of the stream. ### Returns - `class StreamGetResponse: …` - `id: str` Indicates a unique identifier for this stream. - `created_at: datetime` - `http: HTTP` - `authentication: bool` Indicates that authentication is required for the HTTP endpoint. - `enabled: bool` Indicates that the HTTP endpoint is enabled. - `cors: Optional[HTTPCORS]` Specifies the CORS options for the HTTP endpoint. - `origins: Optional[List[str]]` - `modified_at: datetime` - `name: str` Indicates the name of the Stream. - `version: int` Indicates the current version of this stream. - `worker_binding: WorkerBinding` - `enabled: bool` Indicates that the worker binding is enabled. - `endpoint: Optional[str]` Indicates the endpoint URL of this stream. - `format: Optional[Format]` - `class FormatJson: …` - `type: Literal["json"]` - `"json"` - `decimal_encoding: Optional[Literal["number", "string", "bytes"]]` - `"number"` - `"string"` - `"bytes"` - `timestamp_format: Optional[Literal["rfc3339", "unix_millis"]]` - `"rfc3339"` - `"unix_millis"` - `unstructured: Optional[bool]` - `class FormatParquet: …` - `type: Literal["parquet"]` - `"parquet"` - `compression: Optional[Literal["uncompressed", "snappy", "gzip", 2 more]]` - `"uncompressed"` - `"snappy"` - `"gzip"` - `"zstd"` - `"lz4"` - `row_group_bytes: Optional[int]` - `schema: Optional[Schema]` - `fields: Optional[List[SchemaField]]` - `class SchemaFieldInt32: …` - `type: Literal["int32"]` - `"int32"` - `metadata_key: Optional[str]` - `name: Optional[str]` - `required: Optional[bool]` - `sql_name: Optional[str]` - `class SchemaFieldInt64: …` - `type: Literal["int64"]` - `"int64"` - `metadata_key: Optional[str]` - `name: Optional[str]` - `required: Optional[bool]` - `sql_name: Optional[str]` - `class SchemaFieldFloat32: …` - `type: Literal["float32"]` - `"float32"` - `metadata_key: Optional[str]` - `name: Optional[str]` - `required: Optional[bool]` - `sql_name: Optional[str]` - `class SchemaFieldFloat64: …` - `type: Literal["float64"]` - `"float64"` - `metadata_key: Optional[str]` - `name: Optional[str]` - `required: Optional[bool]` - `sql_name: Optional[str]` - `class SchemaFieldBool: …` - `type: Literal["bool"]` - `"bool"` - `metadata_key: Optional[str]` - `name: Optional[str]` - `required: Optional[bool]` - `sql_name: Optional[str]` - `class SchemaFieldString: …` - `type: Literal["string"]` - `"string"` - `metadata_key: Optional[str]` - `name: Optional[str]` - `required: Optional[bool]` - `sql_name: Optional[str]` - `class SchemaFieldBinary: …` - `type: Literal["binary"]` - `"binary"` - `metadata_key: Optional[str]` - `name: Optional[str]` - `required: Optional[bool]` - `sql_name: Optional[str]` - `class SchemaFieldTimestamp: …` - `type: Literal["timestamp"]` - `"timestamp"` - `metadata_key: Optional[str]` - `name: Optional[str]` - `required: Optional[bool]` - `sql_name: Optional[str]` - `unit: Optional[Literal["second", "millisecond", "microsecond", "nanosecond"]]` - `"second"` - `"millisecond"` - `"microsecond"` - `"nanosecond"` - `class SchemaFieldJson: …` - `type: Literal["json"]` - `"json"` - `metadata_key: Optional[str]` - `name: Optional[str]` - `required: Optional[bool]` - `sql_name: Optional[str]` - `class SchemaFieldStruct: …` - `class SchemaFieldList: …` - `format: Optional[SchemaFormat]` - `class SchemaFormatJson: …` - `type: Literal["json"]` - `"json"` - `decimal_encoding: Optional[Literal["number", "string", "bytes"]]` - `"number"` - `"string"` - `"bytes"` - `timestamp_format: Optional[Literal["rfc3339", "unix_millis"]]` - `"rfc3339"` - `"unix_millis"` - `unstructured: Optional[bool]` - `class SchemaFormatParquet: …` - `type: Literal["parquet"]` - `"parquet"` - `compression: Optional[Literal["uncompressed", "snappy", "gzip", 2 more]]` - `"uncompressed"` - `"snappy"` - `"gzip"` - `"zstd"` - `"lz4"` - `row_group_bytes: Optional[int]` - `inferred: Optional[bool]` ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) stream = client.pipelines.streams.get( stream_id="033e105f4ecef8ad9ca31a8372d0c353", account_id="0123105f4ecef8ad9ca31a8372d0c353", ) print(stream.id) ``` #### Response ```json { "result": { "id": "01234567890123457689012345678901", "created_at": "2019-12-27T18:11:19.117Z", "http": { "authentication": false, "enabled": true, "cors": { "origins": [ "string" ] } }, "modified_at": "2019-12-27T18:11:19.117Z", "name": "my_stream", "version": 3, "worker_binding": { "enabled": true }, "endpoint": "https://01234567890123457689012345678901.ingest.cloudflare.com/v1", "format": { "type": "json", "decimal_encoding": "number", "timestamp_format": "rfc3339", "unstructured": true }, "schema": { "fields": [ { "type": "int32", "metadata_key": "metadata_key", "name": "name", "required": true, "sql_name": "sql_name" } ], "format": { "type": "json", "decimal_encoding": "number", "timestamp_format": "rfc3339", "unstructured": true }, "inferred": true } }, "success": true } ```