How to get the animations from an animation bundle ID

if PlayerData.Character.Animation.Value > 0 then
		local IDS = AssetService:GetAssetIdsForPackage(PlayerData.Character.Animation.Value)
		print(1, IDS)
		if IDS then
			for i, v in pairs(IDS) do
				print(i, v)

I have this, but get HTTP 400 bad request errors. There’s no documentation on how to get animation ids from the bundle ID. Do I have to manually go into the catalog and get the IDs from everything?

I think you meant to use AssetService:GetBundleDetailsAsync().