Repository navigation
Add sandbox apis - #32
Merged
Merged
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit df75714. Configure here.
| # Build query parameters from keyword arguments | ||
| query_dict = {} | ||
| query_dict["from"] = from_ | ||
| query_dict["to"] = to |
There was a problem hiding this comment.
Datetime query params not serialized
Medium Severity
timeline and summary put from_ and to datetime values into the query dict unchanged. The HTTP client stringifies them as 2026-10-16 08:25:00 instead of ISO-8601, so the required range is sent in the wrong format and usage requests fail or return an empty window. Similar log endpoints already take these bounds as strings.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit df75714. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.


Note
Medium Risk
Large generated surface with breaking path/parameter changes for firewalls and integration networking; callers using removed networks/enclaves/bindings endpoints must migrate.
Overview
Adds sandbox support to the Python SDK: generated Magnetar clients for machines (lifecycle, access tokens, usage), disks, images/builds, regions, and specs, exposed via new
client.sandbox(and public exports) alongsidechats/chatgroups.Also syncs other API changes: chat command
respond, consumer providerreconnect, and a networking model rename—instancenetworksandfirewall-bindings/ genericenclavesendpoints are replaced by integration enclaves, integration firewall assignments, and integration internet gateway (including network logs). Firewall create/list no longer usenetwork_id/ inlinebindings; listing can filter by sandboxmachine_id. Severaltool_filtersrequest shapes pick up an additional allowed variant in generated types.Reviewed by Cursor Bugbot for commit df75714. Bugbot is set up for automated code reviews on this repo. Configure here.