Skip to content

Remove check credit balance API endpoint and related models#81

Merged
jfrench9 merged 1 commit intomainfrom
refactor/simplify-endpoints
Apr 6, 2026
Merged

Remove check credit balance API endpoint and related models#81
jfrench9 merged 1 commit intomainfrom
refactor/simplify-endpoints

Conversation

@jfrench9
Copy link
Copy Markdown
Member

@jfrench9 jfrench9 commented Apr 6, 2026

Summary

Removes the check_credit_balance API endpoint and its associated response model from the robosystems_client package, simplifying the credits API surface. Minor adjustments were made to related modules to maintain consistency.

Key Accomplishments

  • Removed check_credit_balance endpoint: Deleted the full implementation (~290 lines) of the check credit balance API, including sync/async variants and detailed/shorthand client methods.
  • Removed associated response model: Deleted the CheckCreditBalanceResponseCheckcreditbalance model and cleaned up its references from the models __init__.py.
  • Updated adjacent modules: Minor adjustments to get_credit_summary and get_materialization_status to ensure continued consistency after the removal.

Breaking Changes

⚠️ This is a breaking change.

  • The check_credit_balance API function (including sync, sync_detailed, asyncio, and asyncio_detailed variants) is no longer available.
  • The CheckCreditBalanceResponseCheckcreditbalance model has been removed from robosystems_client.models.
  • Any consumers relying on these endpoints or models will need to migrate to an alternative (e.g., get_credit_summary) or remove their usage.

Testing Notes

  • Verify that existing functionality around get_credit_summary and get_materialization_status continues to work as expected.
  • Confirm no remaining internal references to the removed endpoint or model exist across dependent services or client integrations.
  • Ensure any SDK documentation or generated API references are regenerated to reflect the removal.

Infrastructure Considerations

  • Downstream services and consumers of the robosystems_client package should be audited for usage of the removed endpoint before upgrading to this version.
  • Consider coordinating this release with a version bump to signal the breaking change (e.g., a major or minor version increment depending on semver policy).
  • If the corresponding server-side endpoint is also being deprecated, ensure the rollout is sequenced appropriately (clients updated before or alongside server changes).

🤖 Generated with Claude Code

Branch Info:

  • Source: refactor/simplify-endpoints
  • Target: main
  • Type: feature

Co-Authored-By: Claude noreply@anthropic.com

- Deleted the `check_credit_balance.py` file and the associated `CheckCreditBalanceResponseCheckcreditbalance` model to streamline the API.
- Updated `__init__.py` to remove references to the deleted model, ensuring a clean public API.
- Adjusted related API endpoints for credit summary and materialization status to maintain consistency.

These changes enhance the clarity and maintainability of the `robosystems_client` API.
@jfrench9 jfrench9 merged commit 26dff44 into main Apr 6, 2026
1 check passed
@jfrench9 jfrench9 deleted the refactor/simplify-endpoints branch April 6, 2026 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant