Skip to content

[I] SdkStreamMetadata

Metadata about a streaming operation body or response. Present when the body/response is a streaming type (e.g. JsonlStream, SSEStream).

PropertyTypeDescription
bodyTypeSdkTypeThe type of the property decorated with @body (e.g. string, bytes).
contentTypesstring[]Content types associated with this stream (e.g. [“application/jsonl”], [“text/event-stream”]).
originalTypeSdkTypeThe stream model type itself (e.g. HttpStream, JsonlStream, SSEStream).
streamTypeSdkTypeThe payload model type being streamed (e.g. Thing from JsonlStream).