GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — improvement(external-endpoints): v2 versions with clean signatures + updated docs based on openapi spec by icecrasher321 · Pull Request #5273 · simstudioai/sim

Conversation

@icecrasher321

@icecrasher321 icecrasher321 commented Jun 29, 2026 •
edited by TheodoreSpeaks
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Summary

Introduces a parallel /api/v2 external API with consistent authentication, response envelopes, pagination, errors, and resource semantics. Existing v1 wire behavior remains available; breaking cleanup and the expanded resource model live in v2.

The v2 OpenAPI reference is now generated from the shared Zod route contracts. Schema descriptions, examples, formats, bounds, nullability, and requiredness stay next to the runtime validation they document, eliminating the hand-maintained spec drift that previously existed.

Highlights

  • Adds and expands v2 APIs for workflows and runs, files and signed uploads, tables, knowledge bases, logs, billing, folders, credentials, MCP servers, skills, and custom tools.
  • Completes workflow CRUD, version, execution, status, cancellation, resume, filtering, sorting, and pagination surfaces.
  • Adds file metadata with share status plus explicit share and unshare operations.
  • Adds ownerEmail to knowledge-base and table metadata and rejects unsupported table required input.
  • Centralizes protected operations behind shared Principal/application use cases across public APIs, internal APIs, and Copilot adapters.
  • Returns access denied when a caller can see a resource but lacks mutation permission, while continuing to hide resources they cannot see.
  • Persists signed multipart upload sessions and unifies file and knowledge-document upload lifecycles.
  • Generates and validates seven OpenAPI documents covering 128 operations directly from the contracts.
  • Updates the API reference and CI drift checks around the generated specifications.
  • Integrates the latest staging changes; the upload-session migration is sequenced as 0289 after staging's 0287 and 0288 migrations.

Compatibility and rollout

  • v1 endpoints remain available and retain their existing wire contracts.
  • The v2 surface is gated behind the shared v2 API feature flag.
  • Database changes are additive and backward-compatible with the deployed application version.

Verification

  • bun run check:api-validation:strict
  • bun run check:openapi
  • bun run check:migrations
  • env NODE_OPTIONS=--max-old-space-size=8192 bun run type-check in apps/sim
  • 215 focused API, authorization, knowledge, table, folder, and provenance tests
  • bun run test in packages/audit
  • bun run type-check in packages/testing
  • helm lint helm/sim --values helm/sim/ci/default-values.yaml
  • bun run scripts/check-cron-parity.ts

Checklist

  • Code follows project style guidelines
  • Self-reviewed the conflict resolutions and generated migration chain
  • Tests added or updated and passing
  • Generated OpenAPI output is current and contract-validated
  • No new API-boundary validation drift
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

greptile-apps[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
waleedlatif1 and others added 30 commits April 3, 2026 23:30
@waleedlatif1
v0.6.23: MCP fixes, remove local state in favor of server state, moth…
0b9019d
…ership workflow edits via sockets, ui improvements
@waleedlatif1
v0.6.24: copilot feedback wiring, captcha fixes
a54dcbe
@waleedlatif1
v0.6.25: cloudwatch, cloudformation, live kb sync, linear fixes, post…
28af223
…hog upgrade
@waleedlatif1
v0.6.26: ui improvements, multiple response blocks, docx previews, ol…
d889f32
…lama fix
@waleedlatif1
v0.6.27: new triggers, mothership improvements, files archive, queuei…
316bc8c
…ng improvements, posthog, secrets mutations
@waleedlatif1
v0.6.28: new docs, delete confirmation standardization, dagster integ…
3f508e4
…ration, signup method feature flags, SSO improvements
@TheodoreSpeaks
v0.6.29: login improvements, posthog telemetry (#4026)
d6ec115
* feat(posthog): Add tracking on mothership abort (#4023)

Co-authored-by: Theodore Li <[email protected]>

* fix(login): fix captcha headers for manual login  (#4025)

* fix(signup): fix turnstile key loading

* fix(login): fix captcha header passing

* Catch user already exists, remove login form captcha
@waleedlatif1
v0.6.30: slack trigger enhancements, connectors performance improveme…
d7da35b
…nts, secrets performance, polling refactors, drag resources in mothership
@waleedlatif1
v0.6.31: elevenlabs voice, trigger.dev fixes, cloud whitelabeling for…
cf233bb
… enterprises
@waleedlatif1
v0.6.32: BYOK fixes, ui improvements, cloudwatch tools, jsm tools ext…
f8f3758
…ension
@waleedlatif1
v0.6.33: polling improvements, jsm forms tools, credentials reactquer…
3c8bb40
…y invalidation, HITL docs
@waleedlatif1
v0.6.34: trigger.dev fixes, CI speedup, atlassian error extractor
d33acf4
@waleedlatif1
v0.6.35: additional jira fields, HITL docs, logs cleanup efficiency
4f40c4c
@waleedlatif1
v0.6.36: new chunkers, sockets state machine, google sheets/drive/cal…
cbfab1c
…endar triggers, docs updates, integrations/models pages improvements
@waleedlatif1
v0.6.37: audit logs page, isolated-vm worker rotation, permission gro…
4309d06
…ups ui
@waleedlatif1
v0.6.38: models page
8b57476
@waleedlatif1
v0.6.39: billing fixes, tools audit, landing fix
e3d0e74
@waleedlatif1
v0.6.40: mothership tool loop, new skills, agiloft, STS, IAM integrat…
0ac0539
…ions, jira forms endpoints
@waleedlatif1
v0.6.41: webhooks fix, workers removal
3838b6e
@waleedlatif1
v0.6.42: mothership nested file reads, search modal improvements
fc07922
@waleedlatif1
v0.6.43: mothership billing idempotency, env var resolution fixes
3a1b1a8
@waleedlatif1
v0.6.44: streamdown, mothership intelligence, excel extension
46ffc49
@Sg312
v0.6.45: superagent, csp, brightdata integration, gemini response for…
010435c
…mat, logs performance improvements

fix(csp): add missing analytics domains, remove unsafe-eval, fix workspace CSP gap (#4179)
fix(landing): return 404 for invalid dynamic route slugs (#4182)
improvement(seo): optimize sitemaps, robots.txt, and core web vitals across sim and docs (#4170)
fix(gemini): support structured output with tools on Gemini 3 models (#4184)
feat(brightdata): add Bright Data integration with 8 tools (#4183)
fix(mothership): fix superagent credentials (#4185)
fix(logs): close sidebar when selected log disappears from filtered list; cleanup (#4186)
@icecrasher321
Merge pull request #4190 from simstudioai/staging
c0bc62c
v0.6.46: mothership streaming fixes, brightdata integration
@waleedlatif1
v0.6.46: mothership queueing, web vitals
387cc97
@waleedlatif1
v0.6.47: files focusing, documentation, opus 4.7
2dbc7fd
@waleedlatif1
v0.6.48: import csv into tables, subflow fixes, CSP updates
8a50f18
@waleedlatif1
v0.6.49: deploy sockets event, resolver, logs improvements, monday.co…
dcf3302
…m integration, atlassian triggers
@icecrasher321
v0.6.50: ppt/doc/pdf worker isolation, docs, chat, sidebar improvements
bc09865
@waleedlatif1
v0.6.51: tables improvements, billing fixes, 404 pages, code hygiene
5f56e46
@TheodoreSpeaks
feat(api): expose v2 resource owners
1c7e4e1
@vercel
vercel Bot deployed to Preview August 11, 2026 07:24
View deployment
@TheodoreSpeaks
fix(api): distinguish visible resource authorization failures (#6537)
da3442e
@vercel
vercel Bot temporarily deployed to Preview August 11, 2026 08:29 Inactive
@TheodoreSpeaks
feat(api): generate v2 OpenAPI from contracts (#6509)
f8c21e0
* feat(api): generate v2 OpenAPI from contracts

* fix(api): preserve string boolean wire defaults

* fix(api): document file download headers

* fix(docs): use TypeScript CLI with Next.js

* fix(docs): avoid client-rendered theme script

* fix(api): document departed audit default

* feat(api): replace legacy core docs with v2

* feat(api): generate v2 OpenAPI from contracts

* feat(api): refine generated v2 OpenAPI docs

* fix(docs): align localized v2 execution examples
@TheodoreSpeaks
TheodoreSpeaks changed the base branch from main to staging August 11, 2026 08:38
@vercel
vercel Bot deployed to Preview August 11, 2026 08:42
View deployment
@TheodoreSpeaks
Merge origin/staging into improvement/v2-endpoints
398d17c
@vercel
vercel Bot deployed to Preview August 11, 2026 09:03
View deployment
@TheodoreSpeaks
fix(ci): restore Helm diff and sync audit mock
7f383d0
@vercel
vercel Bot deployed to Preview August 11, 2026 09:12
View deployment
@TheodoreSpeaks
fix CI regressions after staging merge
28628b2
@vercel
vercel Bot temporarily deployed to Preview August 11, 2026 09:36 Inactive
@TheodoreSpeaks
TheodoreSpeaks merged commit 263e3ca into staging Aug 11, 2026
28 checks passed

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Aug 11, 2026
v0.8.0: new workflow UI, v2 API, salesforce JWT, provenance improvements, incidentio tools, block retries #6533
Closed
fix(v2-api): standardization #6542
Merged
fix(v2-api): close three secret disclosures, make the surface consistent, and align docs with signatures #6560
Merged
@lialb

lialb commented Aug 11, 2026

Copy link
Copy Markdown

very nice @TheodoreSpeaks

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Aug 11, 2026
chore(api): remove a dead route builder, bound folder-index reads, reject invalid cursors #6568
Merged
fix(skills): only reject a built-in name collision on an actual rename #6570
Merged
fix(credentials): authorize shared credentials without requiring a workflow #6571
Merged
fix(api): widen the cancel-execution reason contract to what the route emits #6592
Merged
fix(tools): bind schema-enrichment reads to executor delegations #6593
Merged
fix(mcp): audit the columns an MCP server update wrote, not the params it got #6598
Merged
fix(mcp): audit an upsert that rewrites or revives a server #6602
Merged
v0.8.0: desktop app, workflow UI, v2 endpoints #6606
Merged
fix(executor): give the workflow agent tool the caller's env and PII policy #6611
Merged
fix(sdk): make the 0.2.0 SDK release safe to publish #6616
Merged
fix(v2): give the keyset cursor's timestamp an explicit SQL type #6636
Merged
mship-tools:check is stale on staging: regenerating strips maxLength/maxItems from the VFS cp/mkdir/mv/rm schemas #6755
Closed

This branch was previously deployed

1 inactive deployment
Preview — 28628b29 Deployed Aug 11, 2026 by vercel[bot]
View deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@greptile-apps greptile-apps[bot] greptile-apps[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@icecrasher321 @lialb @TheodoreSpeaks @waleedlatif1 @Sg312
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.