---
title: 모든 임베드 가져오기
description: 이전에 생성된 임베드 가능한 그래프 목록을 가져옵니다.
breadcrumbs: 문서 > API > 모든 임베드 가져오기
---

> For the complete documentation index, see [llms.txt](https://dnd37xeb23o8n.cloudfront.net/stefon.simmons/docs-astro-web-10435/llms.txt).

# 모든 임베드 가져오기

## v1 (latest)

| Datadog site      | API endpoint                                         |
| ----------------- | ---------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v1/graph/embed     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v1/graph/embed |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v1/graph/embed |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v1/graph/embed      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v1/graph/embed |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v1/graph/embed |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v1/graph/embed |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v1/graph/embed      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v1/graph/embed  |

### Overview

이전에 생성된 임베드 가능한 그래프 목록을 가져옵니다.

### Response

{% tabs %}
{% tab label="200" %}
OK

{% tabs %}
{% tab label="Model" %}
Response with embeddable graphs.

| Parent field    | Field           | Type     | Description                                           |
| --------------- | --------------- | -------- | ----------------------------------------------------- |
|                 | embedded_graphs | [object] | List of embeddable graphs.                            |
| embedded_graphs | dash_name       | string   | Name of the dashboard the graph is on (null if none). |
| embedded_graphs | dash_url        | string   | URL of the dashboard the graph is on (null if none).  |
| embedded_graphs | embed_id        | string   | ID of the embed.                                      |
| embedded_graphs | graph_title     | string   | Title of the graph.                                   |
| embedded_graphs | html            | string   | HTML fragment for the embed (iframe).                 |
| embedded_graphs | revoked         | boolean  | Boolean flag for whether or not the embed is revoked. |
| embedded_graphs | shared_by       | int64    | ID of the use who shared the embed.                   |
{% /tab %}

{% tab label="Example" %}
```json
{
  "embedded_graphs": [
    {
      "dash_name": "string",
      "dash_url": "string",
      "embed_id": "string",
      "graph_title": "string",
      "html": "string",
      "revoked": false,
      "shared_by": "integer"
    }
  ]
}
```
{% /tab %}
{% /tabs %}
{% /tab %}

{% tab label="403" %}
Authentication Error

{% tabs %}
{% tab label="Model" %}
Error response object.

| Field               | Type     | Description                          |
| ------------------- | -------- | ------------------------------------ |
| errors [*required*] | [string] | Array of errors returned by the API. |
{% /tab %}

{% tab label="Example" %}
```json
{
  "errors": [
    "Bad Request"
  ]
}
```
{% /tab %}
{% /tabs %}
{% /tab %}

{% tab label="429" %}
Too many requests

{% tabs %}
{% tab label="Model" %}
Error response object.

| Field               | Type     | Description                          |
| ------------------- | -------- | ------------------------------------ |
| errors [*required*] | [string] | Array of errors returned by the API. |
{% /tab %}

{% tab label="Example" %}
```json
{
  "errors": [
    "Bad Request"
  ]
}
```
{% /tab %}
{% /tabs %}
{% /tab %}
{% /tabs %}

### Code Example

{% tabs %}
{% tab label="Curl" %}
```bash
# Set your Datadog site and credentials
export DD_SITE="datadoghq.com" # Or us3.datadoghq.com, us5.datadoghq.com, datadoghq.eu, ap1.datadoghq.com, ap2.datadoghq.com, uk1.datadoghq.com, ddog-gov.com, us2.ddog-gov.com
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v1/graph/embed" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
```
{% /tab %}
{% /tabs %}
