Accept Workflow Update
Re-pin a buyer purchase to the workflow's current active immutable version.
curl --fail-with-body --silent --show-error -X POST 'https://api.edgaze.ai/v1/workflows/550e8400-e29b-41d4-a716-446655440000/accept-update' \ -H "Authorization: Bearer $EDGAZE_API_KEY"
Developers building with the Edgaze API.
https://api.edgaze.ai/v1/workflows/{workflow_id}/accept-updateOverview#
This endpoint opts a buyer into the creator's current active version. It changes the immutable version selected by later runs that omit version.
Review release notes and the current input schema before accepting. A new version may change required inputs, output fields, pricing, or provider requirements.
Authorization#
Requires workflow:write. New keys do not receive this scope by default.
workflow:writeParameters#
Headers
AuthorizationstringheaderrequiredBearer token with the opt-in workflow:write scope.
Example: Bearer edgaze_sk_live_…
Path parameters
workflow_idstringpathrequiredUUID of the purchased workflow.
Example: 550e8400-e29b-41d4-a716-446655440000
Response#
The response returns the new pinnedVersionId. Repeating the call when the purchase already points to the active version is safe and returns 200.
Edge cases#
Owners do not have a buyer purchase row to re-pin and receive 403 forbidden.
After accepting, refresh GET /workflows/{id}; the active version may define different inputs or outputs.