Skip to main content

Search tools (Admin UI)

Control which teams and virtual keys may call each configured web search integration (/v1/search) and see team/key level usage visibility within LiteLLM's spend dashboard.

Step 1: Register tools​

Search tools page β†’ create tool (name + provider + credentials).

Step 2: Team allowlist​

Teams β†’ create/edit team β†’ open Search Tool Settings β†’ add tool(s) to the team.

Step 3: Key (optional stricter list)​

Virtual keys β†’ generate/update for that team β†’ Search Tool Settings must stay inside the team list (if team list is non-empty).

curl -sS -X POST "http://localhost:4000/v1/search/YOUR_SEARCH_TOOL_NAME" \
-H "Authorization: Bearer YOUR_VIRTUAL_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "hello world", "max_results": 5}'

Step 5: See spend​

Logs β†’ filter Team ID + Public model / search tool = search_tool_name β†’ Cost column.

πŸš…
LiteLLM Enterprise
SSO/SAML, audit logs, spend tracking, multi-team management, and guardrails β€” built for production.
Learn more β†’