Class: DatadogAPIClient::V2::OpenAICodexIntegrationDataflowsResponse

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

Overview

Data Datadog collects from OpenAI Codex, keyed by dataflow ID.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



33
34
35
# File 'lib/datadog_api_client/v2/models/open_ai_codex_integration_dataflows_response.rb', line 33

def additional_properties
  @additional_properties
end

#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_response.rb', line 25

def openai_codex_dora
  @openai_codex_dora
end

#openai_codex_metrics ⇒ Object

Daily Codex analytics metrics under the openai.codex.* namespace: usage totals, token counts by model, thread and turn counts by client, lines of code attributable to Codex, and code reviews. This dataflow is always on and cannot be turned off, so it appears only in responses.



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

def openai_codex_metrics
  @openai_codex_metrics
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.



31
32
33
# File 'lib/datadog_api_client/v2/models/open_ai_codex_integration_dataflows_response.rb', line 31

def openai_codex_turn_metrics
  @openai_codex_turn_metrics
end