23 April 2026
ExtensibilityGraphQL
We added the previous state of the updated resource in API Extensions in public beta.
When
additionalContext.includeOldResource is set to true on an API Extension, the payload sent for Update actions contains an oldResource field with the state of the resource before the update, in addition to the current resource.
This allows your Extension to inspect only what changed instead of re-evaluating the entire resource on every execution.
For Create actions, oldResource is not included. When expansion paths are configured, they are applied to both resource and oldResource.Be aware of the payload limits of your Extension destination (for example, AWS Lambda limits the payload to 6 MB).
We have implemented the following changes to our REST and GraphQL schemas:
REST API
- Added
additionalContextfield to Extension and ExtensionDraft. - Added ExtensionAdditionalContext and ExtensionAdditionalContextDraft types.
- Added
oldResourcefield to ExtensionInput. - Added Set Additional Context update action.
GraphQL API
- Added
additionalContextfield toExtensiontype. - Added
ExtensionAdditionalContextobject type. - Added
ExtensionAdditionalContextInputinput object type. - Added
additionalContextfield toExtensionDraftinput type. - Added
setAdditionalContextfield toExtensionUpdateActioninput type. - Added
SetExtensionAdditionalContextinput object type.