Skip to content

Conversation

@mfine15
Copy link

@mfine15 mfine15 commented Jan 23, 2026

Summary

Fixes the curl example for the /findSimilar endpoint. The text parameter must be wrapped in a contents object for the raw API - using "text": true at the top level is silently ignored.

The Python and JS SDK examples are correct as-is because the SDKs handle this transformation internally.

Review & Testing Checklist for Human

  • Verify by running the curl example that contents: {text: true} actually returns text content in results
  • Confirm the old format "text": true at top level was indeed being ignored

Notes

Part of a docs audit finding behavior mismatches between documentation and actual API behavior.

Link to Devin run: https://app.devin.ai/sessions/616457e78aea475481e0607e4f176b40
Requested by: Michael Fine (@mfine15), PRs requested by Ishan Goswami

@devin-ai-integration
Copy link

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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