Beta: memory/environment APIs removed, RefusalCategory enum narrowed
BreakingBreaking change
This is a breaking change — integrations that rely on the affected behaviour will need updates before the change rolls out.
What changed
This diff makes several breaking changes to the Beta API surface:
- The
/v1/memory_stores/{memory_store_id}/memories?beta=trueendpoint (POSTBetaCreateMemory) is removed and replaced by a new/v1/sessions?beta=trueendpoint (BetaCreateSession). - Environment webhook paths (
environment.created,environment.updated,environment.archived,environment.deleted) and memory store webhook paths (memory_store.created,memory_store.archived,memory_store.deleted) are removed from the spec entirely, along with their corresponding schemas and discriminator mappings. - The
RefusalCategoryenum loses the"military_weapons"value, which is a breaking change for any code that handles that enum value. requestBodyis now markedrequired: trueon the skill-creation endpoints (clarification, not a behaviour change in practice).