---
title: "List All Available Kernels for a Droplet"
method: GET
path: "/v2/droplets/{droplet_id}/kernels"
tags: ["DigitalOcean-public.v2-new_Droplets"]
---

# List All Available Kernels for a Droplet

`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.

## Path parameters

- `droplet_id` integer, required

## Query parameters

- `per_page` integer
- `page` integer

## Response `200`

A JSON object that has a key called `kernels`.

- object
  - `kernels` Kernel[]
    - `id` integer — A unique number used to identify and reference a specific kernel.
    - `name` string — 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` string — A standard kernel version string representing the version, patch, and release information.
  - `links` PageLinks
    - `pages` union
      - ForwardLinks
        - `last` string — URI of the last page of the results.
        - `next` string — URI of the next page of the results.
      - BackwardLinks
        - `first` string — URI of the first page of the results.
        - `prev` string — URI of the previous page of the results.
      - unknown
  - `meta` object, required — Information about the response itself.
    - `total` integer, required — Number of objects returned by the request.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/versions/cb3bf9b21459/schema)
