Create and manage Datadog Service Catalog entries via API to document service ownership, dependencies, and metadata

domain: docs.datadoghq.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Determine which schema you're targeting: the current Software Catalog v3.0 schema (entity kinds like service, system, datastore, queue) uses the newer Software Catalog API, while legacy Service Definition schemas (v2.1/v2.2 and earlier, service-only) use the older Service Definition API.
  2. For the current schema, create or update an entity by sending a POST request with an Accept/Content-Type of application/json and a DD-API-KEY/DD-APPLICATION-KEY header pair to /api/v2/catalog/entity, with a YAML/JSON body containing apiVersion, kind, metadata (name, owner, additionalOwners, tags), and spec (e.g. lifecycle, tier, dependsOn, componentOf).
  3. Use the dependsOn field in spec to manually declare dependencies between components, augmenting anything Datadog auto-detects from APM/USM topology; kind: system and dependsOn require the v3.0 schema.
  4. Retrieve entities with GET /api/v2/catalog/entity (list) or by ID, list relationship data with GET /api/v2/catalog/relation, and manage custom entity kinds via GET/POST /api/v2/catalog/kind.
  5. For legacy service definitions still on v2.2 or earlier, use the Service Definition API instead: POST /api/v2/services/definitions to create/update, GET /api/v2/services/definitions/{service_name} to retrieve, and DELETE /api/v2/services/definitions/{service_name} to remove.
  6. Optionally validate an entity payload before committing by calling the preview endpoint POST /api/v2/catalog/entity/preview.

Known gotchas

Related routes

Create and manage Datadog SLOs programmatically via the SLOs API
docs.datadoghq.com · 6 steps · unrated
Create and update Datadog monitors via the API
docs.datadoghq.com · 5 steps · unrated
Create and manage Datadog dashboards as code using the datadog_dashboard Terraform resource
registry.terraform.io · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans