anthropic.internal.AnthSource
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.AnthSourceA 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 2158–2258
Fields
type
stringmedia_type
string | nulldata
string | nullurl
string | null