Skip to content
Back to skills

Datadog Incidents

ASecurity

Work with Datadog Incidents API - fetch incidents with enrichment, update incident fields, understand incident data structures. Use when working with incidents or the dd get-incident/update-incident commands.

  • 754 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
toolsbashapidatabasebackend

Works with

  • cli
  • api

Security analysis

A100/100

Scanned February 10, 2026

npx -y skills add majiayu000/claude-skill-registry --skill datadog-incidents --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Datadog Incidents?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Datadog Incidents
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-datadog-incidents/badge)](https://www.skillsdirectory.com/skills/majiayu000-datadog-incidents)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: datadog-incidents
description: Work with Datadog Incidents API - fetch incidents with enrichment, update incident fields, understand incident data structures. Use when working with incidents or the dd get-incident/update-incident commands.
---

# Datadog Incidents API

## CLI Commands

```bash
# Get incident by ID (public ID like 152, or UUID)
dd get-incident 152

# Get enriched incident with user details
dd get-incident 152 --include users

# Get fully enriched with incident type and integrations
dd get-incident 152 --include users --enrich

# Update incident
dd update-incident 152 --title "New Title" --severity SEV-2 --state resolved
```

## Enrichment Levels

### Basic (no flags)
Returns incident data with UUIDs for users - less useful for human analysis.

### With `--include users`
Transforms user references:
```json
"created_by": {
  "data": {
    "type": "users",
    "id": "0082a465-...",
    "attributes": {
      "name": "Peter Chang",
      "email": "peterc@wonder.com"
    }
  }
}
```

### With `--enrich`
Adds `enrichment` section with:
- **Incident type**: Name, description, prefix
- **Integrations**: Slack channels, Jira tickets with direct links

## Update Fields

### Standard fields
- `--title` - Incident title
- `--severity` - SEV-1, SEV-2, etc.
- `--state` - active, stable, resolved
- `--customer-impacted` - true/false
- `--customer-impact-scope` - Description of impact

### Custom fields
```bash
dd update-incident 152 --field "root_cause=Database timeout" --field "teams=backend"
```

## Key Notes

- **CLI accepts public IDs**: Use `152` instead of full UUID
- **API requires UUIDs**: CLI handles conversion internally
- **Permission requirements**: App key owner needs incident management permissions
- The `include` parameter only works for `users` and `attachments`

## curl Examples

```bash
# Get with user enrichment
curl -X GET "https://api.$DD_SITE/api/v2/incidents/$INCIDENT_UUID?include=users" \
  -H "DD-API-KEY: $DD_API_KEY" \
  -H "DD-APPLICATION-KEY: $DD_APP_KEY"

# Get integrations (Slack/Jira)
curl -X GET "https://api.$DD_SITE/api/v2/incidents/$INCIDENT_UUID/relationships/integrations" \
  -H "DD-API-KEY: $DD_API_KEY" \
  -H "DD-APPLICATION-KEY: $DD_APP_KEY"

# Get incident type config
curl -X GET "https://api.$DD_SITE/api/v2/incidents/config/types/$TYPE_UUID" \
  -H "DD-API-KEY: $DD_API_KEY" \
  -H "DD-APPLICATION-KEY: $DD_APP_KEY"
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.