Follow-up from #8326 (PR #8452): the REST endpoint now accepts recordIds: string[] (batch record-grained explain, cap 200), but the typed SDK's security.explain request literal in packages/client/src/index.ts still spells only { object, operation?, userId?, recordId? }. A typed-client consumer cannot send the batch spelling without a cast, so the amortization the batch form exists for is unreachable through the SDK.
Fix is additive and small: add recordIds?: string[] to the inline request type (and mention the 200 cap / mutual exclusion with recordId in the method TSDoc, mirroring ExplainRequestSchema). No runtime change — the method already forwards the body verbatim over POST.
Out of #8326's ruled file surface (spec schema + rest handler + tests), so filed separately rather than ridden on PR #8452.
Blocked-by: #8326
Generated by Claude Code
Follow-up from #8326 (PR #8452): the REST endpoint now accepts
recordIds: string[](batch record-grained explain, cap 200), but the typed SDK'ssecurity.explainrequest literal inpackages/client/src/index.tsstill spells only{ object, operation?, userId?, recordId? }. A typed-client consumer cannot send the batch spelling without a cast, so the amortization the batch form exists for is unreachable through the SDK.Fix is additive and small: add
recordIds?: string[]to the inline request type (and mention the 200 cap / mutual exclusion withrecordIdin the method TSDoc, mirroringExplainRequestSchema). No runtime change — the method already forwards the body verbatim over POST.Out of #8326's ruled file surface (spec schema + rest handler + tests), so filed separately rather than ridden on PR #8452.
Blocked-by: #8326
Generated by Claude Code