---
title: "Retrieve contents of BPF map"
method: GET
path: "/map/{name}"
tags: ["daemon"]
---

# Retrieve contents of BPF map

`GET /map/{name}`

## Path parameters

- `name` string, required

## Response `200`

Success

- BPFMap — BPF map definition and content
  - `path` string — Path to BPF map
  - `cache` BPFMapEntry[] — Contents of cache
    - `key` string — Key of map entry
    - `value` string — Value of map entry
    - `desired-action` 'ok' | 'insert' | 'delete' — Desired action to be performed
    - `last-error` string — Last error seen while performing desired action

## Other responses

- `404` — Map not found

---

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