---
title: "Get metadata"
method: GET
path: "/api/endpoint/metadata/{id}"
tags: ["Security Endpoint Management API"]
---

# Get metadata

`GET /api/endpoint/metadata/{id}`

**Spaces method and path for this operation:**

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/endpoint/metadata/{id}</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Get host metadata for a specific endpoint.

## Path parameters

- `id` string, required

## Response `200`

Indicates a successful call.

- SecurityEndpointManagementAPIEndpointMetadataResponse

## Changes

- **2026-07-21** `4f9c93aeab15` — 1 warning
  - for the `path` request parameter `id`, the maxLength was set to `256`

[Change history](https://skmtc.dev/elastic/apis/kibana-apis/changes/api/endpoint/metadata/:id/get.md)

---

[API](https://skmtc.dev/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.dev/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/elastic/kibana-apis/revisions/d3fa2d005f9b/schema)
