search
Create Search For Tool
Run a search against the search tool named in the path.
Identical to POST /v1/search except that the path names the tool, which is the form LiteLLM clients use. Any search_tool_name in the body is ignored.
Authentication modes:
- Master key: the user field is required and may name any existing user.
- API key: usage and spend always bind to the key's own user. A user field naming a different user is rejected with 403 (or ignored, when reject_user_mismatch is disabled); it is never billed to that user.
post/v1/search/{search_tool_name}
Path parameters
search_tool_namestring required
Configured search tool to run against
Configured search tool to run against
Request body
Example request
{
"max_results": 5,
"query": "otari llm gateway"
}Response
Successful Response