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.AnthSource

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 21582258

Fields

type

string

media_type

string | null

data

string | null

url

string | null