--- id: datadog-api-client version: "2.59.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # datadog-api-client — Collection of all Datadog Public endpoints License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install datadog-api-client uv add datadog-api-client poetry add datadog-api-client ## Description # datadog-api-client-python This repository contains a Python API client for the [Datadog API](https://docs.datadoghq.com/api/). ## Requirements Building and using the API client library requires [Python 3.8+](https://www.python.org/downloads/). ## Installation To install the API client library, simply execute: ```shell pip install datadog-api-client ``` ## Getting Started Please follow the [installation](#installation) instruction and execute the following Python code: ```python from datadog_api_client import ApiClient, Configuration from datadog_api_client.v1.api.monitors_api import MonitorsApi from datadog_api_client.v1.model.monitor import Monitor from datadog_api_client.v1.model.monitor_type import MonitorType body = Monitor( name="example", type=MonitorType("log alert"), query='logs("service:foo AND type:error").index("main").rollup("count").by("source").last("5m") > 2', message="some message Notify: @hipchat-channel", tags=["test:example", "env:ci"], priority=3, ) configuration = Configuration() with ApiClient(configuration) as api_client: api_instance = MonitorsApi(api_client) response = api_instance.create_monitor(body=body)... ## AI interpretation — verify before relying Python client library for the Datadog API, enabling programmatic access to monitors, dashboards, incidents, logs, and other Datadog resources with support for synchronous, threaded, and async operations. Verdict: Well-maintained official Datadog client for Python 3.8+ with minimal dependencies, permissive licensing, and no known vulnerabilities. Suitable for production use in monitoring automation, dashboard management, and incident response workflows. [View on SkillFed](https://skillfed.io/packages/datadog-api-client) · [View on PyPI](https://pypi.org/project/datadog-api-client/)