Search Documents
Search Datasphere Documents.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: DataSphere.
Authentication
AuthorizationBasic
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing
the word Basic followed by a space and a base64-encoded string of project_id:token.
The project ID will be used as the username and the API token as the password.
Example:
```
Authorization: Basic base64(project_id:token)
```
Request
This endpoint expects an object.
query_string
Search term.
document_id
Unique ID of a Document.
distance
Specifies how closely related the query is to the document. Low distance means high relevance and similarity. High distance means low relevance and similarity.
count
Specifies number of returned Chunks.
language
Language of the Document.
pos_to_expand
Part of Speech considered for expansion or analysis.
max_synonyms
Maximum number of synonyms to consider.
Response
The request has succeeded.
chunks
A list of search result chunks.