chore: update the api reference spec - #492
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
5aebdcb to
6ffab4a
Compare
There was a problem hiding this comment.
Stale comment
Risk assessment: Very Low
Verdict: Prior approval remains valid (not re-approved)
Re-evaluation after synchronize
This PR was previously approved by this automation on commit
5aebdcbb. Head is now6ffab4a4. Re-assessed from the full diff against the base.What changed
- Single file:
specs/openapi.documented.yml(+7 / −0)- Adds optional boolean
profile_save_changes(with description) to the browser session schema- Documents existing
403 Forbiddenresponses on audit log list and export chunk operationsWhy Very Low
- Documentation/API-reference OpenAPI spec only; no application, runtime, or infrastructure code
- Additive schema/response documentation; no auth, billing, permissions, or production logic changes in this repo
- Small, easy to reason about; blast radius limited to published API reference docs
- Risk did not increase vs. the prior assessment → approval not dismissed
- No CODEOWNERS file/requirement detected
Action
- Not re-approving (an approval from this automation already exists)
- Not dismissing approval (risk remained Very Low)
Sent by Cursor Automation: Assign PR reviewers
6ffab4a to
c7fc0a5
Compare
There was a problem hiding this comment.
Stale comment
Risk assessment: Very Low
Verdict: Prior approval remains valid (not re-approved)
Re-evaluation after synchronize
This PR was previously approved by this automation on commit
5aebdcbb. Head is nowc7fc0a54. Re-assessed from the full diff against the base (512e314...c7fc0a54).What changed (from the diff)
- Single file:
specs/openapi.documented.yml(+312 / −10)- Adds optional boolean
profile_save_changesto the browser session schema- Updates managed-auth submit-fields description (SSE → poll)
- Removes
x-stainless-skipon audit log export destination operations; keepsx-hidden/x-cli-skip- Adds Enterprise-plan notes, operation descriptions, and JS/Python/Go
x-codeSamplesfor those endpoints- Documents
403 Forbiddenon audit log list and export-chunk operationsWhy Very Low
- Documentation/API-reference OpenAPI spec only in this Mintlify docs repo; no application, runtime, or infrastructure code
- Additive schema/response docs and example snippets; no auth, billing, permissions, or production logic changes here
- Blast radius limited to published API reference content after redeploy
- Risk did not increase above Very Low vs. the prior assessment → approval not dismissed
- No CODEOWNERS file/requirement detected
Action
- Not re-approving (an approval from this automation already exists)
- Not dismissing approval (risk remained Very Low)
Sent by Cursor Automation: Assign PR reviewers
c7fc0a5 to
ad08376
Compare
There was a problem hiding this comment.
Stale comment
Risk assessment: Very Low
Verdict: Prior approval remains valid (not re-approved)
Re-evaluation after synchronize
This PR was previously approved by this automation on commit
5aebdcbb. Head is nowad083763. Re-assessed from the full diff against the base (3ad0d55...ad083763).What changed (from the diff)
- Single file:
specs/openapi.documented.yml(+470 / −10)- Adds
AuthContext*schemas and documentsGET /auth/context(with JS/Python/Gox-codeSamples)- Adds optional boolean
profile_save_changeson the browser session schema- Updates managed-auth submit-fields description (SSE → poll)
- Removes
x-stainless-skipon audit log export destination operations; keepsx-hidden/x-cli-skip- Adds Enterprise-plan notes, operation descriptions, and code samples for those endpoints
- Documents
403 Forbiddenon audit log list and export-chunk operationsWhy Very Low
- Documentation/API-reference OpenAPI spec only in this Mintlify docs repo; no application, runtime, or infrastructure code
- Additive schema/response docs and example snippets; no auth, billing, permissions, or production logic changes here
- Blast radius limited to published API reference content after redeploy
- Risk did not increase above Very Low vs. the prior assessment → approval not dismissed
- No CODEOWNERS file/requirement detected
Action
- Not re-approving (an approval from this automation already exists)
- Not dismissing approval (risk remained Very Low)
Sent by Cursor Automation: Assign PR reviewers
ad08376 to
305c778
Compare
There was a problem hiding this comment.
Stale comment
Risk assessment: Very Low
Verdict: Prior approval remains valid (not re-approved)
Re-evaluation after synchronize
This PR was previously approved by this automation on commit
5aebdcbb. Head is now305c7785. Re-assessed from the full diff against the base (b10953f6...305c7785).What changed (from the diff)
- Single file:
specs/openapi.documented.yml(+559 / −15)- Adds
AuthContext*schemas and documentsGET /auth/context(with JS/Python/Gox-codeSamples)- Adds structured
BrowserProxy/BrowserProxyConfig/BrowserProxyMode; marksproxy_idanddisable_default_proxydeprecated- Adds optional
profile_save_changeson the browser session schema- Clarifies
stealthdescription (CAPTCHA solver + default egress behavior)- Updates managed-auth submit-fields description (SSE → poll)
- Removes
x-stainless-skipon audit log export destination operations; adds Enterprise-plan notes, descriptions, and code samples- Documents
403 Forbiddenon audit log list and export-chunk operationsWhy Very Low
- Documentation/API-reference OpenAPI spec only in this Mintlify docs repo; no application, runtime, or infrastructure code
- Additive schema/response docs, deprecation markers, and example snippets; no auth, billing, permissions, or production logic changes here
- Blast radius limited to published API reference content after redeploy
- Risk did not increase above Very Low vs. the prior assessment → approval not dismissed
- No CODEOWNERS file/requirement detected
Action
- Not re-approving (an approval from this automation already exists)
- Not dismissing approval (risk remained Very Low)
Sent by Cursor Automation: Assign PR reviewers
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 305c778. Configure here.
| - required: | ||
| - id | ||
| - required: | ||
| - name |
There was a problem hiding this comment.
Response proxy oneOf rejects dual fields
Medium Severity
BrowserProxy is a resolved response schema but reuses request-style oneOf branches that require exactly one of mode, id, or name. A payload with both id and name matches two branches and fails validation, and a name-only variant conflicts with the description that selected proxies are returned by stable ID. Comparable response refs such as BrowserPoolRef use required id with optional name instead.
Reviewed by Cursor Bugbot for commit 305c778. Configure here.
305c778 to
31bcf6c
Compare
There was a problem hiding this comment.
Stale comment
Risk assessment: Very Low
Verdict: Prior approval remains valid (not re-approved)
Re-evaluation after synchronize
This PR was previously approved by this automation on commit
5aebdcbb. Head is now31bcf6c8. Re-assessed from the full diff against the base (b10953f6...31bcf6c8).What changed (from the diff)
- Single file:
specs/openapi.documented.yml(+603 / −20)- Adds
AuthContext*schemas and documentsGET /auth/context(with JS/Python/Gox-codeSamples)- Adds structured
BrowserProxy/BrowserProxyConfig/BrowserProxyMode; marksproxy_idanddisable_default_proxydeprecated- Adds
ManagedAuthBrowserConfig(browser.stealth/browser.proxy/browser.telemetry); deprecates top-level managed-authproxy,browser_telemetry, and connectionproxy_idin favor ofbrowser.*- Adds optional
profile_save_changeson the browser session schema- Clarifies
stealthdescription (CAPTCHA solver + default egress behavior)- Updates managed-auth submit-fields description (SSE → poll)
- Removes
x-stainless-skipon audit log export destination operations; adds Enterprise-plan notes, descriptions, and code samples- Documents
403 Forbiddenon audit log list and export-chunk operationsWhy Very Low
- Documentation/API-reference OpenAPI spec only in this Mintlify docs repo; no application, runtime, or infrastructure code
- Additive schema/response docs, deprecation markers, and example snippets; no auth, billing, permissions, or production logic changes here
- Blast radius limited to published API reference content after redeploy
- Risk did not increase above Very Low vs. the prior assessment → approval not dismissed
- No CODEOWNERS file/requirement detected
Action
- Not re-approving (an approval from this automation already exists)
- Not dismissing approval (risk remained Very Low)
Sent by Cursor Automation: Assign PR reviewers
31bcf6c to
a0544cf
Compare
There was a problem hiding this comment.
Stale comment
Risk assessment: Very Low
Verdict: Prior approval remains valid (not re-approved)
Re-evaluation after synchronize
This PR was previously approved by this automation on commit
5aebdcbb. Head is nowa0544cf7. Re-assessed from the full diff against the base (b10953f6...a0544cf7).What changed (from the diff)
- Single file:
specs/openapi.documented.yml(+603 / −20)- Adds
AuthContext*schemas and documentsGET /auth/context(with JS/Python/Gox-codeSamples)- Adds structured
BrowserProxy/BrowserProxyConfig/BrowserProxyMode; marksproxy_idanddisable_default_proxydeprecated- Adds
ManagedAuthBrowserConfig(browser.stealth/browser.proxy/browser.telemetry); deprecates top-level managed-authproxy,browser_telemetry, and connectionproxy_idin favor ofbrowser.*- Adds optional
profile_save_changeson the browser session schema- Clarifies
stealthdescription (CAPTCHA solver + default egress behavior)- Updates managed-auth submit-fields description (SSE → poll)
- Removes
x-stainless-skipon audit log export destination operations; adds Enterprise-plan notes, descriptions, and code samples- Documents
403 Forbiddenon audit log list and export-chunk operationsWhy Very Low
- Documentation/API-reference OpenAPI spec only in this Mintlify docs repo; no application, runtime, or infrastructure code
- Additive schema/response docs, deprecation markers, and example snippets; no auth, billing, permissions, or production logic changes here
- Blast radius limited to published API reference content after redeploy
- Risk did not increase above Very Low vs. the prior assessment → approval not dismissed
- No CODEOWNERS file/requirement detected
Action
- Not re-approving (an approval from this automation already exists)
- Not dismissing approval (risk remained Very Low)
Sent by Cursor Automation: Assign PR reviewers
a0544cf to
55dbe51
Compare
There was a problem hiding this comment.
Risk assessment: Very Low
Verdict: Prior approval remains valid (not re-approved)
Re-evaluation after synchronize
This PR was previously approved by this automation on commit 5aebdcbb. Head is now 55dbe51b. Re-assessed from the full diff against the base (b10953f6...55dbe51b).
What changed (from the diff)
- Single file:
specs/openapi.documented.yml(+605 / −20) - Adds
AuthContext*schemas and documentsGET /auth/context(with JS/Python/Gox-codeSamples) - Adds structured
BrowserProxy/BrowserProxyConfig/BrowserProxyMode; marksproxy_idanddisable_default_proxydeprecated - Adds
ManagedAuthBrowserConfig(browser.stealth/browser.proxy/browser.telemetry); deprecates top-level managed-authproxy,browser_telemetry, and connectionproxy_idin favor ofbrowser.* - Adds optional
profile_save_changeson the browser session schema - Clarifies
stealthdescription (CAPTCHA solver + default egress behavior) - Updates managed-auth submit-fields description (SSE → poll)
- Removes
x-stainless-skipon audit log export destination operations; adds Enterprise-plan notes, descriptions, and code samples - Documents
403 Forbiddenon audit log list and export-chunk operations
Why Very Low
- Documentation/API-reference OpenAPI spec only in this Mintlify docs repo; no application, runtime, or infrastructure code
- Additive schema/response docs, deprecation markers, and example snippets; no auth, billing, permissions, or production logic changes here
- Blast radius limited to published API reference content after redeploy
- Risk did not increase above Very Low vs. the prior assessment → approval not dismissed
- No CODEOWNERS file/requirement detected
Action
- Not re-approving (an approval from this automation already exists)
- Not dismissing approval (risk remained Very Low)
Sent by Cursor Automation: Assign PR reviewers




Opened by the stlc generate workflow in kernel/kernel (
8a7c2e54c191e8fca2a3fcd33768fa6876d7d36c). Merging redeploys the API reference from the updated spec.Note
Low Risk
Spec-only change for API reference generation; it documents contract and deprecation paths but does not alter application code in this repo.
Overview
Updates
specs/openapi.documented.ymlso the published API reference matches the latest Kernel API contract.Authentication: Adds
GET /auth/contextandAuthContextschemas (authentication method/source, principal, organization, credential vs effective scope).Browsers: Introduces
BrowserProxyConfig/BrowserProxywithmode(direct/default) orid/name, documents that proxy only affects egress (not stealth or CAPTCHA solver), and returns a resolvedproxyon browser resources.proxy_idanddisable_default_proxyare marked deprecated.stealthdocs now state it enables stealth plus CAPTCHA solver and default egress behavior when proxy is omitted.profile_save_changesis documented on browser session responses.Managed auth: Adds nested
browser(ManagedAuthBrowserConfig: stealth, proxy, telemetry) on connections and login requests; deprecates top-levelproxy,browser_telemetry, and connectionproxy_idin favor ofbrowser.*. Addsrequires_customer_inputto unattended re-auth reason codes. Submit-field docs now say to poll the connection instead of following SSE.Audit logs: Audit log export destination routes lose
x-stainless-skip, gain SDK code samples, clearer descriptions, and Enterprise plan requirements; list audit logs and related routes document403where applicable.Reviewed by Cursor Bugbot for commit 55dbe51. Bugbot is set up for automated code reviews on this repo. Configure here.