Skip to content

Public Unified Search

GET
/api/v2/search/unified
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).

q
Q
string
""
sources
Sources
string
""
limit
Limit
integer
default: 20
sort
Sort
string
default: relevance
file_type
File Type
string
""
x-workspace-id
Any of:
string

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
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"
}
]
}