Documents
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.
Learn more about API scopes.
post/api/datasphere/documents/search
Request body
Example request
{
"tags": [
"sports",
"football",
"game"
],
"query_string": "Most paid athlete",
"distance": 2,
"count": 5,
"language": "fr",
"pos_to_expand": [
"NOUN",
"VERB"
],
"max_synonyms": 7
}Response
The request has succeeded.
Example response
{
"chunks": [
{
"text": "Cristiano Ronaldo is the highest-paid football player in the world in 2024"
}
]
}