Class: DatadogAPIClient::V2::AiGatewayProviderStatus

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

Overview

Read-only. Whether the provider is working, based on the model sync and live calls. Omitted for providers that are never checked, which include providers without an integration account, and Azure OpenAI and Gemini providers until live traffic records a status.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



54
55
56
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_status.rb', line 54

def additional_properties
  @additional_properties
end

#checked_at ⇒ Object

Time of the last observation.



27
28
29
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_status.rb', line 27

def checked_at
  @checked_at
end

#endpoint ⇒ Object

Address of the models endpoint that the gateway called, for custom providers.



30
31
32
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_status.rb', line 30

def endpoint
  @endpoint
end

#fix ⇒ Object

Display text saying how to fix the provider. Clients render it as-is.



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

def fix
  @fix
end

#http_status ⇒ Object

HTTP status code that the provider returned.



36
37
38
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_status.rb', line 36

def http_status
  @http_status
end

#label ⇒ Object

Display text for the reason. Clients render it as-is.



39
40
41
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_status.rb', line 39

def label
  @label
end

#last_ok_at ⇒ Object

Time of the last observation in which the provider worked.



42
43
44
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_status.rb', line 42

def last_ok_at
  @last_ok_at
end

#message ⇒ Object

The provider's own error message, with credentials removed. Never set for custom providers.



45
46
47
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_status.rb', line 45

def message
  @message
end

#reason ⇒ Object

Why the provider is invalid, as a stable code such as credentials_rejected. Set only when state is invalid.



48
49
50
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_status.rb', line 48

def reason
  @reason
end

#state ⇒ Object

Whether the provider is working. checking means no observation has been recorded yet, not that a check is running.



52
53
54
# File 'lib/datadog_api_client/v2/models/ai_gateway_provider_status.rb', line 52

def state
  @state
end