Public Unified Search
GET
/api/v2/search/unified
const url = 'http://localhost:8000/api/v2/search/unified?q=&sources=&limit=20&sort=relevance&file_type=';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:8000/api/v2/search/unified?q=&sources=&limit=20&sort=relevance&file_type=' \ --header 'Authorization: Bearer <token>'Unified multi-source document search (auth required).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”q
Q
string
sources
Sources
string
limit
Limit
integer
sort
Sort
string
file_type
File Type
string
Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Examplegenerated
exampleValidation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}