search
Create Search
Changed onRun a search against a configured search tool.
The tool is taken from search_tool_name, which may be omitted when exactly one tool is configured.
Authentication modes:
- Master key: the user field is required and may name any existing user.
- API key: usage and spend bind to the key's own user. A user field naming a different user is rejected with 403 (or ignored, when the key's own reject_user_mismatch is false, or the deployment-wide setting is disabled and the key does not override it); it is never billed to that user.
- Service key: a user field names one of the key owner's end users, created on first use on the budget Otari-End-User-Budget names (or the key's default), and is billed and rate limited as that end user, as on chat completions.
post/api/v1/search
Request
- The document declares no server URL.
- Auth: one of:
- API key in header Otari-Key
- API key in header x-api-key
Request body
Example request
{
"max_results": 5,
"query": "otari llm gateway"
}Response
Successful Response
Changes
- info
added the optional property
to the response with the status
- info
- info
api operation id
create_search_api_v1_search_postremoved and replaced withsearch-create_search
- info