anthropic.internal.AnthSource$stream

A media payload source. `type` selects which of the other fields the API reads: "url" -> url; "base64" -> media_type + data.

Reference version

Signature

class anthropic.internal.AnthSource$stream

A media payload source. type selects which of the other fields the API reads: "url" -> url; "base64" -> media_type + data.

Source:<builtin>/anthropic/ns_internal/messages.bamlbytes 0–0

Fields

type

string | null

media_type

string | null

data

string | null

url

string | null