For reference:
And to confirm it’s still undocumented (as of this posting): https://anvil.works/docs/api/anvil#Media