netlify
Netlify API
Add edge function deployment support to Netlify API
Adds new endpoint PUT /deploys/{deploy_id}/edge_functions/{code_sha} to upload edge function code, and introduces two new optional response fields: required_edge_functions (array of code SHAs) and edge_functions (object mapping bundle formats to code SHAs). These additions enable teams to deploy edge functions alongside regular functions without breaking existing deployments.
Alert history
- Additive
Add edge function deployment support to Netlify API
Adds new endpoint
PUT /deploys/{deploy_id}/edge_functions/{code_sha}to upload edge function code, and introduces two new optional response fields:required_edge_functions(array of code SHAs) andedge_functions(object mapping bundle formats to code SHAs). These additions enable teams to deploy edge functions alongside regular functions without breaking existing deployments. - Additive
Add agent runner hooks API endpoints
New internal API endpoints for managing agent runner hooks:
POST /sites/{site_id}/agent_runner_hooks,GET /sites/{site_id}/agent_runner_hooks,GET /sites/{site_id}/agent_runner_hooks/{id},PUT /sites/{site_id}/agent_runner_hooks/{id}, andDELETE /sites/{site_id}/agent_runner_hooks/{id}. These are marked withx-internal: trueand include supporting object definitions (agentRunnerHook,agentRunnerHookSetup,agentRunnerHookCreated), making them available only for internal use. - Additive
Add vcpu field to function configuration
A new optional
vcpufield has been added to the function configuration object, allowing allocation of 0.5–2 vCPUs per function. The existingmemoryfield is now documented as mutually exclusive withvcpu. This is backward-compatible as both fields remain optional. - Additive
Add memory field to function definition
New optional
memoryfield (integer) added to the function object to expose memory allocation in MB. This is an additive change that does not affect existing integrations — clients that ignore the new field will continue to work correctly. - Additive
Add region fields to deploy and function configs
Three new optional string fields are being added to the Netlify API:
regionin the build environment definition,functions_regionandfunctions_region_overridesin deploy configuration, andregionin function route definition. These are purely additive changes that extend the API without modifying existing response shapes or removing functionality.