Circle V2 API Docs
    Preparing search index...

    Function isSafeKey

    • Returns true if the key is allowlisted as non-PII and can be safely surfaced on a trace or span. Matches identifier keys (isIdKey), a fixed allowlist of pagination/sort/enum keys, enum-ish Type/Status/Kind suffixes (camelCase and snake_case), and boolean-flag prefixes (is/has/use/should/enable/...). Used to avoid leaking PII (email, names, dob, free-text, etc.) when auto-extracting metadata from arbitrary input objects.

      Parameters

      • key: string

      Returns boolean