Observability & incidents
Datadog API v1 mock API
Datadog API v1: monitors, dashboards, downtimes, events and webhook integration configurations.
At a glance
- Operations
- 235
- Stateful operations
- 23
- Stateful resources
- 5
- Webhook events
- 0
- Vendor API version
- v1
- Verification
- Spec-verified
How it works
Use Datadog API v1 without calling Datadog, Inc.
- Install the mock from the library into a workspace. It runs as a virtual service.
- Point your client's base URL at the virtual service instead of the vendor.
- Authenticate the way you already do. The mock accepts the same credential shape:
dd-api-key: 0123456789abcdef0123456789abcdef State
Resources that remember
Writes persist per caller, so a create followed by a read returns what you created.
| Resource | Operations |
|---|---|
| Monitors | 8 |
| Dashboards | 5 |
| Downtimes | 5 |
| Events | 5 |
| Webhooks integration | 4 |
Webhooks
Events your handlers can receive
This API sends no webhooks.
Coverage
235 operations
23 of them are stateful. The largest groups:
| Group | Operations |
|---|---|
| Other operations | 208 |
| Monitors | 8 |
| Dashboards | 5 |
| Downtimes | 5 |
| Events | 5 |
| Webhooks integration | 4 |
Verification
Spec-verified
Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.
Source and limits
License, source and limits
- Generated from the Datadog, Inc. API description, licensed under Apache-2.0.
- Datadog, Inc. API documentation
- Source specification
Each collection (monitors, dashboards, downtimes, events, webhook integration configurations) holds up to 1 MiB of objects per DD-API-KEY; writes beyond that are dropped (x-maxoperf-vs-state: capacity). DD-APPLICATION-KEY is required on monitors, dashboards, downtimes, webhook integrations and event list/get (403 when absent) but is not part of the caller key, so two application keys under one API key share state. Monitor lists filter by name (substring), by the first tag of tags/monitor_tags and by page/page_size; monitor search matches the name substring; monitor state transitions, group states, muting by downtimes and @webhook handles in monitor messages are not evaluated. Dashboard widgets are stored as sent and the dashboard list is unpaged. Downtime active is derived from start/end on every read (a list returns up to 100). The events list returns up to 50 newest events filtered by priority, sources and one tag; start/end are required by the spec but not applied as a time window. Webhook delivery is emulated for the first @webhook-<name> handle in an event text, with the documented default payload variables; a custom payload template and custom_headers are stored but not applied, and deliveries are unsigned. Everything else is generated from the vendor schemas.
MaxoPerf is not affiliated with, endorsed by, or sponsored by Datadog, Inc. Datadog API v1 is a trademark of its owner.