Class: DatadogAPIClient::V2::OpenAICodexIntegrationAccountBearerTokenAuthRequest

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

Overview

Bearer token authentication. Use a workspace-scoped OpenAI Admin key with the codex.enterprise.analytics.read scope.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#auth_type ⇒ Object

The authentication method type.



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

def auth_type
  @auth_type
end

#token ⇒ Object

Workspace-scoped OpenAI Admin key with the codex.enterprise.analytics.read scope. To collect turn metrics, also grant chatgpt.enterprise.compliance_logs_platform.workspace_analytics.read to the same key.



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

def token
  @token
end