Hi @richarte
A content item has no property attribute called 'capabilities'.
You can access the 'capabilities' of a Feature Service through the Feature Layer Collection object
from arcgis.gis import GIS
from arcgis.features import FeatureLayerCollection
agol = GIS("home")
item = agol.content.get("item_id")
flc = FeatureLayerCollection(url=item.url, gis=agol)
print(flc.properties.capabilities)
Or you can access the Feature Layer 'capabilities' in a Feature Service item.
from arcgis.gis import GIS
agol = GIS("home")
item = agol.content.get("fs_item_id")
lyr = item.layers[0]
print(lyr.properties.capabilities)
Basically, target the object you want to get the capabilities for; create the object (like a FeatureLayer/FeatureLayerCollection) and then access the capabilities property.
~ learn.finaldraftmapping.com