search-tools
Test Unsaved Search Tool
Changed onTest an instance before saving it, with one search or one fetch.
Takes the create request's fields, held to the create's checks against the instances this worker has loaded, plus query for a search instance or url for a fetch instance. Answers whether the provider answered without an error, the error's tag when it did not, and how many hits or characters came back, never the results or the page.
post/api/v1/search-tools/test
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
{
"api_base": "http://searxng:8080",
"name": "local",
"provider": "searxng"
}Response
Successful Response
Changes
- info
endpoint added
- info