[KongchangAI]
Conceptsafety_identifier

safetyIdentifier

A request option in the AI SDK xAI provider used to pass an end-user identifier, helping the provider attribute policy violations to specific users in content safety incidents, and echoed back via providerMetadata for auditing.

Timeline (last 90 days)

Nov 7

The article's material does not describe specific format constraints for safetyIdentifier, nor does it mention whether xAI imposes requirements on how the identifier is generated; developers should consult the official documentation before launch to confirm the value range.

Unverified50%
Nov 7

Version 3.0.151 adds a safetyIdentifier option, allowing developers to include a safety_identifier field when calling the xAI Responses API.

Unverified50%
Nov 7

The safetyIdentifier option exposes the echoed value on providerMetadata.xai.safetyIdentifier.

Unverified50%
Nov 7

The echoed identifier only proves that the identifier was correctly transmitted and stored; it does not mean the provider has completed any policy determination.

Unverified50%
Nov 7

Passing end-user identifiers to third-party services requires disclosure in the privacy policy.

Unverified50%
Nov 7

safetyIdentifier does not change model output quality; it is infrastructure for compliance and operations, and has limited value for internal tools or single-user scenarios.

Unverified50%

All Facts (6)

Source Articles