---
title: "Get a markdown library item by ID"
method: GET
path: "/api/markdowns/{id}"
tags: ["Markdowns"]
---

# Get a markdown library item by ID

`GET /api/markdowns/{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/markdowns/{id}</span></div>

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

Returns the complete state of a markdown library item by ID.

## Path parameters

- `id` string, required

## Response `200`

success

- object
  - `data` object, required
    - `content` string, required — The Markdown text rendered by the panel. Supports GitHub-flavored Markdown, including headings, paragraphs, lists, links, images, tables, blockquotes, and code blocks. Use `\n` for line breaks within JSON strings.
    - `description` string — A short description of the markdown library item.
    - `settings` object — Display settings for the markdown panel.
      - `open_links_in_new_tab` boolean — Open links in a new browser tab.
    - `title` string, required — The markdown library item title.
  - `id` string, required — The unique ID of the markdown library item, as returned by the create or search endpoints.
  - `meta` KibanaHTTPAPIsKbnAsCodeMeta, required
    - `created_at` string — Timestamp when the object was created (ISO 8601).
    - `created_by` string — User profile ID of the user who created the object.
    - `managed` boolean — When `true`, the object is managed by Kibana and cannot be edited by users.
    - `owner` string — Identifier of the plugin or team that owns this object.
    - `updated_at` string — Timestamp when the object was last updated (ISO 8601).
    - `updated_by` string — User profile ID of the user who last updated the object.
    - `version` string — Internal version identifier for optimistic concurrency control.

## Other responses

- `403` — forbidden
- `404` — not found

---

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