TenantSecurityAIGtwyUsage

Stores Einstein generative AI gateway usage data. This object is available in API version 65.0 and later.

Supported Calls

describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

Special Access Rules

This object is available for Security Center subscribers. This object is read-only.

Fields

Field Details
Cloud
Type
string
Properties
Filter, Group, idLookup, Nillable, Sort
Description
Cost cloud ID.
DetailIdentifier
Type
string
Properties
Filter, Group, Sort
Description
The ID of the individual detail record. This field is unique across all tenants.
Feature
Type
string
Properties
Filter, Group, idLookup, Nillable, Sort
Description
The AI feature for which the gateway request was made.
MaskedPrompt
Type
textarea
Properties
Nillable
Description
Masked prompt or input text.
MaskedResponse
Type
textarea
Properties
Nillable
Description
The generated response from the LLM. If masking is enabled, this may contain placeholder text.
MetricIdentifier
Type
string
Properties
Filter, Group, Sort
Description
The ID of the type of metric that was counted. This field is unique within your organization.
MetricsType
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The type of data collected.
Model
Type
string
Properties
Filter, Group, idLookup, Nillable, Sort
Description
The name of the model to which the request was sent.
Name
Type
string
Properties
Filter, Group, idLookup, Sort
Description
The name of the metric for which data is being collected.
ObjectName
Type
string
Properties
Filter, Group, idLookup, Nillable, Sort
Description
Name of the Salesforce object is referenced in the prompt.
Prompt
Type
textarea
Properties
Nillable
Description
The hydrated version of prompt text before data masking is applied. The actual prompt sent to the LLM will mask sensitive data if data masking is enabled.
PromptTemplateDevName
Type
string
Properties
Filter, Group, idLookup, Nillable, Sort
Description
The ID of the prompt template.
PromptTemplateVersionNo
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The version of the prompt template.
PromptTokens
Type
int
Properties
Filter, Group, idLookup, Nillable, Sort
Description
The number of tokens used in the prompt.
Response
Type
textarea
Properties
Nillable
Description
The generated response after unmasking.
Tenant
Type
string
Properties
Filter, Group, idLookup, Sort
Description
The ID of the tenant of this AI gateway usage event.
TenantName
Type
string
Properties
Filter, Group, idLookup, Nillable, Sort
Description
The name of the tenant of this AI gateway usage event.