---
title: Datadog API Integration on Truto
slug: datadog
category: Application Development
canonical: "https://truto.one/integrations/detail/datadog/"
---

# Datadog API Integration on Truto



**Category:** Application Development  
**Status:** Generally available

## Unified APIs

### Unified User Directory API

- **Roles** — The Role object represents a role of a User.
- **Users** — The User object represents a User.

### Unified Usage Metering API

- **Products** — Products represent the services or products that are being used by the organization for a particular integration.
- **Usage** — Returns the usage data across products for the organization.

## How it works

1. **Link your customer's Datadog account.** Use Truto's frontend SDK; we handle every OAuth and API key flow so you don't need to create the OAuth app.
2. **Authentication is automatic.** Truto refreshes tokens, stores credentials securely, and injects them into every API request.
3. **Call Truto's API to reach Datadog.** The Proxy API is a 1-to-1 mapping of the Datadog API.
4. **Get a unified response format.** Every response uses a single shape, with cursor-based pagination and data in the `result` field.

## Use cases

- **Sync user roles and access data for security auditing** — Security and compliance SaaS platforms can pull user directory data from their customers' Datadog accounts — including roles and user details — to audit who has access to monitoring infrastructure and detect privilege escalation risks.
- **Track Datadog product usage for FinOps and cost optimization** — Cloud cost management and FinOps platforms can read usage metering data from Datadog to help customers understand their observability spend across products like logs, APM, and infrastructure monitoring, enabling data-driven optimization.
- **Centralize identity and access management across DevOps tools** — IT governance and identity platforms can aggregate Datadog user and role data alongside other tools to give customers a unified view of who has access to what across their entire DevOps toolchain.
- **Monitor SaaS license utilization and seat consumption** — SaaS management platforms can pull Datadog user directory and usage data to help customers track active seats, identify inactive accounts, and right-size their Datadog subscriptions.

## What you can build

- **Datadog user and role inventory dashboard** — Surface a real-time view of all Datadog users, their assigned roles, and permission levels inside your product using the Unified User Directory API.
- **Cross-platform access review workflows** — Automate periodic access reviews by pulling Datadog roles and users alongside other connected tools, flagging over-privileged or orphaned accounts.
- **Observability spend breakdown by product** — Use the Unified Usage Metering API to display Datadog usage across products like logs, APM, and infrastructure, helping customers allocate and forecast observability costs.
- **Automated user provisioning alerts** — Detect when new users are added or roles change in Datadog and trigger downstream workflows like Slack notifications, ticket creation, or compliance log entries.
- **License utilization reports** — Combine user directory data with usage metering to generate reports showing which Datadog seats are actively consuming resources versus sitting idle.

## FAQs

### How does authentication work for the Datadog integration?

Datadog uses API key and Application key pairs for authentication. Your end users provide these credentials when connecting their Datadog account through Truto. Truto securely stores and manages these keys so you don't have to handle credential storage yourself.

### Which Unified APIs does Truto support for Datadog?

Truto maps Datadog to the Unified User Directory API (supporting Users and Roles resources) and the Unified Usage Metering API (supporting Products and Usage resources). Additional tools and endpoints can be built on request.

### Can I access Datadog API endpoints beyond what the Unified APIs cover?

Truto builds custom tools on request. If you need access to Datadog endpoints like Events, Metrics, Logs, Monitors, or Dashboards APIs, you can request purpose-built tools that Truto will develop for your use case.

### Are there rate limits I should be aware of with Datadog's API?

Yes, Datadog enforces rate limits that vary by endpoint — typically 300 requests per hour for most read endpoints and higher limits for data submission. Truto handles rate limit detection and retry logic so your integration degrades gracefully under load.

### Does the Datadog integration support multi-site (EU vs US) instances?

Yes. Datadog operates region-specific API endpoints (e.g., api.datadoghq.com for US, api.datadoghq.eu for EU). Truto supports configuring the correct site per connected account, so your end users on different Datadog regions are handled seamlessly.

### How fresh is the data pulled from Datadog?

Data is fetched in real time via Datadog's REST APIs whenever your application makes a request through Truto. There is no caching layer by default, so you always get the latest user, role, and usage data available from the customer's Datadog account.
