AppsPricingBlogTry it
OpenAI (ChatGPT) logo
Datadog logo

Connect OpenAI (ChatGPT) to Datadog

Build an AI agent that works across OpenAI (ChatGPT) and Datadog, on a schedule or when you click Run.

24 source actions
13 target actions
Reverse direction supported

Why Connect OpenAI (ChatGPT) & Datadog?

Read what you need from OpenAI (ChatGPT)

Your agent uses OpenAI (ChatGPT)'s documented actions to pull the records it needs, each time it runs.

Run a Datadog action

Then it uses one of 13 documented actions, such as Get Account Info, Get Account Region, Get Metric Data.

Test it, then put it on a schedule

Run it once on your own data and check the result. Then set it to run daily, on weekdays or weekly.

Available Triggers & Actions

OpenAI (ChatGPT) logo

OpenAI (ChatGPT)

Triggers (4)

New Batch Completed

Emit new event when a new batch is completed in OpenAI. See the documentation

polling
New File Created

Emit new event when a new file is created in OpenAI. See the documentation

polling
New Fine Tuning Job Created

Emit new event when a new fine-tuning job is created in OpenAI. See the documentation

polling
New Run State Changed

Emit new event every time a run changes its status. See the documentation

polling

Actions (24)

Chat

The Chat API, using the gpt-3.5-turbo or gpt-4 model. See the documentation

Chat using Web Search

Chat using the web search tool. See the documentation

Chat using Functions

Chat with your models and allow them to invoke functions. Optionally, you can build and invoke workflows as functions. See the documentation

Chat using File Search

Chat with your files knowledge base (vector stores). See the documentation

Summarize Text

Summarizes text using the Chat API. See the documentation

Classify Items into Categories

Classify items into specific categories using the Chat API. See the documentation

Translate Text (Whisper)

Translate text from one language to another using the Chat API. See the documentation

Create Transcription

Transcribes audio into the input language. See the documentation

Create Image (Dall-E)

Creates an image given a prompt returning a URL to the image. See the documentation

Create Embeddings

Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. See the documentation

Create Completion (Send Prompt)

OpenAI recommends using the **Chat** action for the latest gpt-3.5-turbo API, since it's faster and 10x cheaper. This action creates a completion for the provided prompt and parameters using the older /completions API. See the documentation

Analyze Image Content

Send a message or question about an image and receive a response. See the documentation

Cancel Run (Assistants)

Cancels a run that is in progress. See the documentation

Chat with Assistant

Sends a message and generates a response, storing the message history for a continuous conversation. See the documentation

Chat With Responses API

Send a chat via the Responses API, mixing built-in tools and MCP server tools. See the documentation.

Convert Text to Speech (TTS)

Generates audio from the input text. See the documentation

Create Assistant

Creates an assistant with a model and instructions. See the documentation

Create Batch

Creates and executes a batch from an uploaded file of requests. See the documentation

Create Fine Tuning Job

Creates a job that fine-tunes a specified model from a given dataset. See the documentation

Create Moderation

Classifies if text is potentially harmful. See the documentation

Create Thread (Assistants)

Creates a thread with optional messages and metadata, and optionally runs the thread using the specified assistant. See the documentation

Create Vector Store

Create a vector store. See the documentation

Create Vector Store File

Create a vector store file. See the documentation

Delete File

Deletes a specified file from OpenAI. See the documentation

Datadog logo

Datadog

Triggers (1)

New Monitor Event (Instant)

Emit new events captured by a Datadog monitor

webhook

Actions (13)

Get Account Info

Detect the Datadog region for the connected account. Call this FIRST before any other Datadog tool if you do not already know the region. Returns the region domain (e.g. datadoghq.com) which must be passed as the region parameter to **Search Logs**, **Search Monitors**, **Get Metric Data**, and all other Datadog tools. See the docs

Get Account Region

Detect the Datadog region for the connected account by validating the API key against each regional endpoint. Use this to discover the correct region before calling other Datadog actions. See the docs

Get Metric Data

Query time-series metric data for analyzing trends and system performance. Query syntax: avg:system.cpu.user{*}, sum:requests.count{env:prod} by {host}, max:system.mem.used{service:web}. Both from and to are POSIX timestamps in seconds. Use **Search Metrics** first to discover available metric names. Use **Search Hosts** to find valid host tags for scoping. After finding anomalies, use **Search Logs** to investigate related entries. See the docs

List Logs

Get a list of logs matching a filter query. Uses the GET endpoint with a higher rate limit (3600/hr vs 300/hr). See the docs

Post Metric Data

Post custom time-series metric data points to Datadog. Data appears in dashboards, monitors, and can be queried via **Get Metric Data**. Points: JSON object where keys are Unix timestamps (seconds) and values are numeric, e.g. {"1640995200": 1.0}. Use **Search Metrics** to verify a metric name exists, or post to a new name to create it. This is a WRITE operation that creates or appends data to a metric time series. See the docs

Search Dashboards

List and search Datadog dashboards. Returns dashboard IDs, titles, URLs, and metadata. Dashboard URL: https://app.{region}/dashboard/{id} where region comes from **Get Account Info**. Use alongside **Search Services** to find dashboards related to a specific service. See the docs

Search Events

Search Datadog events: monitor state changes, deployment markers, error spikes, and infrastructure events. Filter by sources (e.g. nagios,docker), tags (e.g. env:prod,service:web), and priority (normal or low). Time range defaults to last 24h (POSIX timestamps in seconds). To investigate a monitor alert, use **Search Monitors** first, then search events for the relevant time range. Follow up with **Search Logs** for deeper investigation. See the docs

Search Hosts

Search monitored infrastructure hosts. Filter by tag (env:production), name (host:web-01), or partial match. Sort by cpu, iowait, load, status, or apps. Host names from results can scope queries in **Get Metric Data** (e.g. avg:system.cpu.user{host:web-01}), filter logs in **Search Logs** (host:web-01), or filter metrics in **Search Metrics**. Max 1000 results. See the docs

Search Incidents

Search Datadog incidents by state, severity, and metadata. Query syntax: state:active, state:resolved, severity:SEV-1. After finding an incident, investigate with: **Search Logs** for the incident time window, **Get Metric Data** for relevant metrics, **Search Events** for related monitor alerts, and **Search Services** for ownership info. See the docs

Search Logs

Search Datadog logs matching a query with support for facets and time ranges. Uses log search syntax: service:web-app status:error, @http.status_code:>=400, boolean operators (AND, OR, NOT), and wildcards. Set from to now-1h for recent logs. Use **Search Metrics** to discover metric names or **Search Hosts** to find host names for filtering. To investigate an incident, use **Search Incidents** first, then search logs for that time window and service. See the docs

Search Metrics

Discovery tool: list available Datadog metric names, optionally filtered by host. Returns metric name strings (e.g. system.cpu.user, aws.ec2.cpuutilization) for use in **Get Metric Data** queries with the syntax aggregation:metric.name{tags}. Use **Search Hosts** to find valid host names for the host filter. See the docs

Search Monitors

Search Datadog monitors (alerting rules) including status, thresholds, and conditions. Query syntax: tag:env:production, type:metric, status:Alert. Tags filter: comma-separated (e.g. env:prod,team:backend). After finding a monitor, use **Search Events** to see recent state changes, or **Get Metric Data** to query the underlying metric it tracks. Returns monitor ID, name, type, query, status, and tags. See the docs

Search Services

List services from Datadog's Service Catalog with ownership, metadata, and team info. Use to discover service names for filtering in **Search Logs** (service:my-app) or finding monitors via **Search Monitors** (tag:service:my-app). Returns service definitions including links, docs, and on-call. See the docs

Integration Features

24 documented OpenAI (ChatGPT) actions
13 documented Datadog actions
Plain-English agent instructions
Daily, weekday or weekly schedule, or run on demand
Execution monitoring
A supported Datadog to OpenAI (ChatGPT) direction

Capability Examples

OpenAI (ChatGPT) trigger → Datadog action

Catalog example
OpenAI (ChatGPT)OpenAI (ChatGPT)

New Batch Completed

DatadogDatadog

Get Account Info

Datadog trigger → OpenAI (ChatGPT) action

Reverse direction
DatadogDatadog

New Monitor Event (Instant)

OpenAI (ChatGPT)OpenAI (ChatGPT)

Chat

How It Works

1

Connect Apps

Authenticate your OpenAI (ChatGPT) and Datadog accounts

2

Describe the Job

Say what to read from OpenAI (ChatGPT) and what to do in Datadog

3

Choose an Action

Select the documented Datadog operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Scheduled or On-demand Runs

Runs daily, on weekdays or weekly at a set time, or when you click Run. It does not fire on live OpenAI (ChatGPT) events yet.

Automated Actions

Use 13 documented Datadog actions each time the agent runs.

Provider Authentication

Review the authentication requirements published by each provider before activating the workflow.

Guided Configuration

Describe the job in plain English. The agent picks theOpenAI (ChatGPT) and Datadog actions it needs.

Your Own Accounts

You connect your own OpenAI (ChatGPT) and Datadog accounts. App connections need a paid plan.

Execution Review

Test the workflow and review provider responses before relying on it in production.

Datadog logoOpenAI (ChatGPT) logo

Reverse Integration Available

Also connect Datadog to OpenAI (ChatGPT) for bidirectional automation

View Integration
OpenAI (ChatGPT) logo

All OpenAI (ChatGPT) Integrations

Explore all available OpenAI (ChatGPT) connections

View All Integrations
Datadog logo

All Datadog Integrations

Explore all available Datadog connections

View All Integrations

Ready to Connect OpenAI (ChatGPT) & Datadog?

Build this agent in Mazaal AI and test it on your ownOpenAI (ChatGPT) and Datadog data.

Start building

Rather not build it yourself? We set up one OpenAI (ChatGPT) to Datadog agent on your accounts for A$490: a 30-minute call, a test on your real data, and 14 days of fixes. Plan billed separately. Email Enod