Skip to content

fix(web): add Bearer auth header for Tavily /crawl endpoint - #22915

Closed
McClean wants to merge 1 commit into
NousResearch:mainfrom
McClean-codes:fix/tavily-crawl-auth
Closed

fix(web): add Bearer auth header for Tavily /crawl endpoint#22915
McClean wants to merge 1 commit into
NousResearch:mainfrom
McClean-codes:fix/tavily-crawl-auth

Conversation

@McClean

@McClean McClean commented May 10, 2026

Copy link
Copy Markdown
Contributor

fixes webcrawling via Tavily by sending auth in the header instead of the body

Tavily's /crawl endpoint requires Authorization: Bearer <key> in the header,
unlike /search and /extract which accept api_key in the JSON body.
Without the header, crawl returns 401 Unauthorized.
@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists tool/web Web search and extraction labels May 10, 2026
@teknium1

Copy link
Copy Markdown
Contributor

Merged via PR #24658 (cherry-picked onto current main with your authorship preserved). Thanks for the contribution!

@teknium1 teknium1 closed this May 13, 2026
@McClean-Sherlock
McClean-Sherlock deleted the fix/tavily-crawl-auth branch June 15, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Medium — degraded but workaround exists tool/web Web search and extraction type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants