## List Kernels `gpu_droplets.list_kernels(intdroplet_id, GPUDropletListKernelsParams**kwargs) -> GPUDropletListKernelsResponse` **get** `/v2/droplets/{droplet_id}/kernels` To retrieve a list of all kernels available to a Droplet, send a GET request to `/v2/droplets/$DROPLET_ID/kernels` The response will be a JSON object that has a key called `kernels`. This will be set to an array of `kernel` objects, each of which contain the standard `kernel` attributes. ### Parameters - **droplet\_id:** `int` - **page:** `int` Which 'page' of paginated results to return. - **per\_page:** `int` Number of items returned per page ### Returns - `class GPUDropletListKernelsResponse` - **meta:** `MetaProperties` Information about the response itself. - **kernels:** `Optional[List[Optional[Kernel]]]` - **id:** `Optional[int]` A unique number used to identify and reference a specific kernel. - **name:** `Optional[str]` The display name of the kernel. This is shown in the web UI and is generally a descriptive title for the kernel in question. - **version:** `Optional[str]` A standard kernel version string representing the version, patch, and release information. - **links:** `Optional[PageLinks]` ### Example ```python from do_gradientai import GradientAI client = GradientAI() response = client.gpu_droplets.list_kernels( droplet_id=3164444, ) print(response.meta) ```