Repository navigation
Regenerate the API clients from the production spec - #49
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues requiring resolution.
No open issues 🎉
What changed in this PR
Regenerates the Python SDK’s API clients and models from current production specifications, including POST /v1/auth/token.
Changes:
- Adds token exchange, service account, identity provider, and trust rule APIs.
- Updates replica management, Loops checkpoint lifecycle, training metrics, and Grid routing support.
- Adds BEI configuration and Hugging Face OIDC weight authentication, with refreshed field descriptions.
| File | Description |
|---|---|
scripts/apigen/specs/config.schema.json |
Updates configuration schema for BEI and Hugging Face OIDC. |
baseten/client/modelconfig/_models.py |
Generates corresponding configuration models and field descriptions. |
baseten/client/modelconfig/__init__.py |
Exports the new BEI configuration models. |
baseten/client/managementapi/_models.py |
Refreshes management API request, response, and resource models. |
baseten/client/managementapi/_client.py |
Updates synchronous and asynchronous methods to match production endpoints. |
baseten/client/managementapi/__init__.py |
Synchronizes public exports with the regenerated management models. |
Review effort: Balanced
cretz
approved these changes
Nov 19, 2026
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.
🚀 What
Regenerates the API clients from the current production specs, including
POST /v1/auth/token. Generated code only.💻 How
generate-api --update-specs, no hand edits.🔬 Testing
Lint and unit tests pass; regenerating again without
--update-specsproduces no further changes.🤖 Generated with Claude Code