Title: feat(billing): gate programmatic workflow execution behind a paid plan by TheodoreSpeaks · Pull Request #5036 · simstudioai/sim · GitHub
Open Graph Title: feat(billing): gate programmatic workflow execution behind a paid plan by TheodoreSpeaks · Pull Request #5036 · simstudioai/sim
X Title: feat(billing): gate programmatic workflow execution behind a paid plan by TheodoreSpeaks · Pull Request #5036 · simstudioai/sim
Description: Summary Free-plan accounts (hosted only) are blocked from running workflows programmatically: API-key/public execute, MCP server, A2A agent server, generic ("custom") webhooks, and cross-origin chat embeds. Returns 402 (403 for chat embeds) with an upgrade message. Untouched: provider webhooks (Slack/GitHub/…), session/browser runs, internal-JWT executor traffic, and self-hosted (no billing). New isApiExecutionEntitled / isWorkspaceApiExecutionEntitled helpers (hosted-only, roll up org subs) gate each route inline. Deploy modal: API/MCP/A2A tabs show an "Explore plans" upgrade prompt for free users (footers hidden). Upgrade page: Pro feature renamed to "Deploy workflows as APIs"; comparison-table API-endpoint row shows 0 for Free. Type of Change New feature Testing Tested manually (curl: free API key → 402 on execute/MCP/A2A; generic webhook with valid token → 402; cross-origin chat → 403; first-party/session unaffected). Added/updated unit + route tests. bun run lint and bun run check:api-validation:strict pass. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)
Open Graph Description: Summary Free-plan accounts (hosted only) are blocked from running workflows programmatically: API-key/public execute, MCP server, A2A agent server, generic ("custom") webhooks, and cross...
X Description: Summary Free-plan accounts (hosted only) are blocked from running workflows programmatically: API-key/public execute, MCP server, A2A agent server, generic ("custom") webhooks, a...
Opengraph URL: https://github.com/simstudioai/sim/pull/5036
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:bd3889ea-e757-ff68-4f25-15858d7a367d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C030:12136E:5306A0:75B4D4:6A638049 |
| html-safe-nonce | 69313d1d4508ffd81f25b536dc1dd1bd8f2bbab5012f025c1f11c48d1965edd1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDMwOjEyMTM2RTo1MzA2QTA6NzVCNEQ0OjZBNjM4MDQ5IiwidmlzaXRvcl9pZCI6Ijk5NTI1NDc1MTYwNDIxMTc4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 27a6d853d8b346894e9543762af720dca7c13b5a3b3bef6e530ef03d77e70806 |
| hovercard-subject-tag | pull_request:3861366849 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5036/files |
| twitter:image | https://avatars.githubusercontent.com/u/19564703?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/19564703?s=400&v=4 |
| og:image:alt | Summary Free-plan accounts (hosted only) are blocked from running workflows programmatically: API-key/public execute, MCP server, A2A agent server, generic ("custom") webhooks, and cross... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e4fb64aef87da454ec25b158147f7f5f14aef29216e5ca1612c2e48faa599d1f |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/simstudioai/sim git https://github.com/simstudioai/sim.git |
| octolytics-dimension-user_id | 199344406 |
| octolytics-dimension-user_login | simstudioai |
| octolytics-dimension-repository_id | 912559512 |
| octolytics-dimension-repository_nwo | simstudioai/sim |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 912559512 |
| octolytics-dimension-repository_network_root_nwo | simstudioai/sim |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e839936ba5faffb9c836dda1cf4729d50c88a32e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width