import osfrom datagrid_ai import Datagridclient = Datagrid( api_key=os.environ.get("DATAGRID_API_KEY"), # This is the default and can be omitted)response = client.webhooks.list_active_for_event( event_type="event_type",)print(response.data)
Returns enabled webhook subscriptions for a specific event type.
GET
/
webhooks
/
active
Python
import osfrom datagrid_ai import Datagridclient = Datagrid( api_key=os.environ.get("DATAGRID_API_KEY"), # This is the default and can be omitted)response = client.webhooks.list_active_for_event( event_type="event_type",)print(response.data)