back to home

DataDog / datadog-api-client-python

Python client for the Datadog API

157 stars
52 forks
141 issues
PythonGherkinJinja

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing DataDog/datadog-api-client-python in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/DataDog/datadog-api-client-python)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

datadog-api-client-python This repository contains a Python API client for the Datadog API. Requirements Building and using the API client library requires Python 3.8+. Installation To install the API client library, simply execute: Getting Started Please follow the installation instruction and execute the following Python code: Authentication By default the library will use the and environment variables to authenticate against the Datadog API. To provide your own set of credentials, you need to set some keys on the configuration: Unstable Endpoints This client includes access to Datadog API endpoints while they are in an unstable state and may undergo breaking changes. An extra configuration step is required to enable these endpoints: where is the name of the method used to interact with that endpoint. For example: , or Changing Server When talking to a different server, like the instance, change the on your configuration object: Disable compressed payloads If you want to disable GZIP compressed responses, set the flag on your configuration object: Enable requests logging If you want to enable requests logging, set the flag on your configuration object: Enable retry If you want to enable retry when getting status code rate-limited, set to The default max retry is , you can change it with Custom retry policy You can provide a custom retry policy by passing a instance to the configuration. When a custom retry policy is provided, it takes precedence over the , , and settings. See urllib3.util.Retry documentation for more details. Configure proxy You can configure the client to use proxy by setting the key on configuration object: Threads support You can run API calls in a thread by using in place of . API calls will then return a instance on which you can call get to retrieve the result: Asyncio support The library supports asynchronous operations when using for the transport. When that client is used, the API methods will then return coroutines that you can wait for. To make async support available, you need to install the extra qualifiers during installation: . Pagination Several listing operations have a pagination method to help consume all the items available. For example, to retrieve all your incidents: Documentation for API Endpoints and Models Documentation for API endpoints and models is available in the API Client docs. Documentation for Authorization Authenticate with the API by providing your API and Application keys in the configuration: Author support@datadoghq.com