Class: DatadogAPIClient::V2::OpenAICodexIntegrationDataflowsRequest

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/open_ai_codex_integration_dataflows_request.rb

Overview

Data Datadog collects from OpenAI Codex, keyed by dataflow ID. Datadog always collects daily Codex analytics metrics. Each dataflow in this object adds another type of collection. Set enabled to start or stop a dataflow. The default for each dataflow applies when the account is created. On update, omitted fields keep their current values. Every dataflow requires an OpenAI enterprise subscription with Codex enabled. If you enable a dataflow without this subscription, Datadog stores the setting but collects no data.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#openai_codex_dora ⇒ Object

A daily per-engineer engagement signal that AI Impact uses to attribute AI-assisted pull requests.



25
26
27
# File 'lib/datadog_api_client/v2/models/open_ai_codex_integration_dataflows_request.rb', line 25

def openai_codex_dora
  @openai_codex_dora
end

#openai_codex_turn_metrics ⇒ Object

Hourly turn-level metrics from the OpenAI Compliance Logs Platform, including turn and session identity, Work Insights classification, token usage, credits, estimated cost, duration, and activity for skills, plugins, and artifacts. Turn cost is a provider estimate and can differ from invoiced charges. Requires the chatgpt.enterprise.compliance_logs_platform.workspace_analytics.read scope on the key in authentication. Without this scope, the dataflow collects no data.



28
29
30
# File 'lib/datadog_api_client/v2/models/open_ai_codex_integration_dataflows_request.rb', line 28

def openai_codex_turn_metrics
  @openai_codex_turn_metrics
end