Sign in

Create dashboard

documented

Create a new dashboard.

POST /api/v1/dashboardDashboardsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.datadoghq.com/api/v1/dashboard" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "DD-API-KEY: {{DATADOGHQ_API_KEY}}" \
  -H "DD-APPLICATION-KEY: {{DATADOGHQ_APP_KEY}}" \
  -d '{"title": "{{$title}}", "description": "{{$description}}", "layout_type": "ordered", "widgets": [ { "definition": { "type": "timeseries", "requests": [ { "q": "{{$query}}", "display_type": "line" } ], "title": "{{$widget_title}}" }, "layout": { "x": 0, "y": 0, "width": 47, "height": 15 } } ], "is_read_only": {{$is_read_only}} }'