Skip to content

feat: update search for V2 API modes#4

Merged
marc-rutzou merged 2 commits intomainfrom
feat/search-v2-modes
Mar 24, 2026
Merged

feat: update search for V2 API modes#4
marc-rutzou merged 2 commits intomainfrom
feat/search-v2-modes

Conversation

@marc-rutzou
Copy link
Contributor

Summary

  • Add --mode flag to select search tier: instant, classic (default), or agentic
  • Add --offset flag for pagination (instant/classic)
  • Update API endpoint from /collections/{id}/search to /collections/{id}/search/{mode}
  • Update result rendering for V2 response format (relevance_score, airweave_system_metadata, breadcrumbs, web_url)

Test plan

  • Verify airweave search "query" uses classic mode by default
  • Verify airweave search "query" --mode instant hits the instant endpoint
  • Verify airweave search "query" --mode agentic hits the agentic endpoint
  • Verify --offset is sent for instant/classic but not agentic
  • Verify --json output matches V2 response schema
  • Verify interactive result panels show breadcrumbs and correct score

🤖 Generated with Claude Code

marc-rutzou and others added 2 commits March 23, 2026 16:53
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@marc-rutzou marc-rutzou merged commit a24883f into main Mar 24, 2026
6 checks 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