Remove get_reputation and release 2.7.0 - #96
Merged
Merged
Conversation
GET /v1/reputation was retired with the transaction pipeline and now answers 404, so the sync and async methods and the score, grade, chain and reputation types that only they returned come out. Test fixtures now carry the shapes the API returns.
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.
Summary
GET /v1/reputationwas retired on 2026-09-30 along with the transaction pipeline, and the API now answers 404 on it. This removesget_reputation()/aget_reputation()and the types only they returned, and releases 2.7.0.get_reputation()andaget_reputation()are removed.agentscore.typesand the package exports:ReputationResponse,Reputation,Score,ChainScore,ChainEntry,Classification,RedactedClassification,Subject,Identity,Activity,EvidenceSummary,OperatorScore,AgentSummary,Grade,EntityType,ReputationStatus.AssessResponseis unchanged.create_sessiondocstrings no longer call it "an assessment session for deferred scoring"..claude/CLAUDE.mdand the package keywords no longer describe a reputation lookup.Versioned as a minor on purpose: the method has returned 404 since the endpoint was retired, so no working call changes behavior. Code that still references it raises
AttributeErrorafter upgrading.Type of change
Public API
AgentScore.get_reputation(),AgentScore.aget_reputation()and the reputation types listed above are removed. Migration: drop the call. The endpoint behind it no longer exists, so there is no replacement;assess()/aassess()remain the identity and compliance check.Test plan
get_reputationas their vehicle and now run throughlist_credentials()/alist_credentials(), so that coverage is kept.min_scorekey now sendsrequire_kyc.uv run pytest(177 passed, 2 integration skipped without credentials, 99.8% coverage),ruff check,ruff format --check,ty checkandvultureall pass locally. The OSV scan ofuv.lockis clean.Worked with Varun.
Checklist