Python Agent API Reference The Python Agent APIs provide facilities to support: Custom business transactions Custom exit points Custom data collectors List of the APIs: Start and Stop Agent init(environ=None, timeout_ms=NO_TIMEOUT) shutdown(timeout_ms=None) Business Transaction Management start_bt(name, correlation_header=None) end_bt(bt_handle, exc=None) add_snapshot_data(bt_handle, key, value) get_active_bt_handle(request) Exit Call Management start_exit_call(bt_handle, exit_type, display_name, identifying_properties, optional_properties=None) end_exit_call(exit_call_handle, exc=None) make_correlation_header(bt_handle, exit_call_handle) Context Managers bt(name, correlation_header=None) exit_call(bt_handle, exit_type, display_name, identifying_properties, optional_properties=None)