POST
/
api
/
v2
/
documents
/
search
Python
from samplehc import SampleHealthcare

client = SampleHealthcare(
    api_key="My API Key",
)
response = client.v2.documents.search(
    documents=[{
        "id": "id",
        "file_name": "fileName",
    }],
    query="query",
)
print(response.results)
{
  "results": [
    "<any>"
  ]
}

Body

application/json

Response

200
application/json

Successfully retrieved search results.