Skip to content

SIM-4339: Add exclude_unpriced schema/docs to balances endpoints#171

Merged
bh2smith merged 2 commits intomainfrom
cursor/include-unpriced-schema-docs-6837
Apr 10, 2026
Merged

SIM-4339: Add exclude_unpriced schema/docs to balances endpoints#171
bh2smith merged 2 commits intomainfrom
cursor/include-unpriced-schema-docs-6837

Conversation

@bh2smith
Copy link
Copy Markdown
Contributor

@bh2smith bh2smith commented Apr 10, 2026

Summary

  • update previous docs/schema change to match latest echo rename and semantics
  • rename include_unpriced -> exclude_unpriced
  • keep default behavior backward-compatible: unpriced balances are included by default
  • make filtering unpriced balances an explicit opt-in via exclude_unpriced=true

Changes

  • openapi.json
    • GET /v1/evm/balances/{address}: query param renamed to exclude_unpriced (boolean, default false)
    • GET /v1/evm/balances/{address}/stablecoins: same rename and semantics
    • descriptions updated to reflect: when true, unpriced balances are excluded; by default they are included
  • evm/balances.mdx
    • section updated to Exclude unpriced balances
    • docs now state that unpriced balances are included by default; use exclude_unpriced=true to filter them out
  • token-filtering.mdx
    • narrative updated to included-by-default behavior
    • curl example updated to use exclude_unpriced=true
  • .well-known/ai-tools.json
    • balances and stablecoin tool input schemas renamed to exclude_unpriced
    • descriptions updated to exclusion semantics

Validation

  • no remaining include_unpriced references in repo
  • openapi.json and .well-known/ai-tools.json parse successfully via python3 -m json.tool

Slack Thread

Open in Web Open in Cursor 

Co-authored-by: Benjamin Smith <bh2smith@users.noreply.github.com>
@mintlify
Copy link
Copy Markdown
Contributor

mintlify bot commented Apr 10, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
sim-dune 🟢 Ready View Preview Apr 10, 2026, 7:07 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Copy link
Copy Markdown
Contributor Author

@bh2smith bh2smith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@bh2smith
Copy link
Copy Markdown
Contributor Author

Corresponding amp PR: https://github.com/duneanalytics/echo/pull/3068

@bh2smith bh2smith marked this pull request as ready for review April 10, 2026 07:35
Co-authored-by: Benjamin Smith <bh2smith@users.noreply.github.com>
@cursor cursor bot changed the title SIM-4339: Add include_unpriced schema/docs to balances endpoints SIM-4339: Add exclude_unpriced schema/docs to balances endpoints Apr 10, 2026
@bh2smith bh2smith merged commit e3555b8 into main Apr 10, 2026
1 check passed
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.

2 participants