Class: DatadogAPIClient::V2::AnthropicUsageAndCostsIntegrationAccountBearerTokenAuthUpdate
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AnthropicUsageAndCostsIntegrationAccountBearerTokenAuthUpdate
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/anthropic_usage_and_costs_integration_account_bearer_token_auth_update.rb
Overview
Bearer token authentication. Use an Anthropic Admin API key (Platform plan) or an Analytics API key with the read:analytics scope (Enterprise plan). An invalid key, or an Analytics key without the read:analytics scope, is rejected with a 422 response. Only the provided fields are changed. To keep the stored token, omit token.
Instance Attribute Summary collapse
-
#auth_type ⇒ Object
readonly
The authentication method type.
-
#token ⇒ Object
Anthropic Admin API key with permission to read usage and cost data, or an Analytics API key with the
read:analyticsscope.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#auth_type ⇒ Object
The authentication method type.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/anthropic_usage_and_costs_integration_account_bearer_token_auth_update.rb', line 25 def auth_type @auth_type end |
#token ⇒ Object
Anthropic Admin API key with permission to read usage and cost data, or an Analytics API key with the read:analytics scope. Generate an Admin API key in the Anthropic Console under Settings > Admin Keys.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/anthropic_usage_and_costs_integration_account_bearer_token_auth_update.rb', line 28 def token @token end |