***

title: search
slug: /reference/python/rest/datasphere/search
description: Perform a semantic search across all documents.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

[ref-datasphere]: /docs/server-sdks/reference/python/rest/datasphere

Perform a semantic search across all documents in the [Datasphere][ref-datasphere].

<EndpointSchemaSnippet endpoint="POST /api/datasphere/documents/search" />

## **Response Example**

<EndpointResponseSnippet endpoint="POST /api/datasphere/documents/search" />

## **Example**

```python {9}
from signalwire.rest import RestClient

client = RestClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
)

results = client.datasphere.documents.search(
    query_string="How do I reset my password?",
    count=5,
)
for chunk in results.get("chunks", []):
    print(chunk.get("text"), "score:", chunk.get("score"))
```