files.get
Get one indexed file record byfile_id.
GET /namespaces/{namespace_name}/files/{file_id} — see Get file
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get an indexed file record using the Python client
file_id.
client.files.get(namespace_name: str, file_id: str) -> dict[str, Any]
GET /namespaces/{namespace_name}/files/{file_id} — see Get file
from moorcheh import MoorchehClient
with MoorchehClient("http://localhost:8080") as client:
resp = client.files.get("my-documents", "a1b2c3d4e5f67890")
print(resp["file"]["chunk_count"])
Was this page helpful?