# Morphik Documentation ## Docs - [Python SDK Basic Operations](https://databridge-add-core-funcs.mintlify.app/cookbooks/python-basic-operations.md): End-to-end walkthrough of ingestion, retrieval, and LLM integration using the Morphik Python SDK. - [TypeScript Basic Operations](https://databridge-add-core-funcs.mintlify.app/cookbooks/typescript-basic-operations.md): End-to-end walkthrough of ingestion, retrieval, and LLM handoff with the Morphik TypeScript SDK. - [Batch Get Chunks](https://databridge-add-core-funcs.mintlify.app/core-functions/batch-get-chunks.md): Retrieve specific chunks by document ID and chunk number - [Delete Document](https://databridge-add-core-funcs.mintlify.app/core-functions/delete-document.md): Remove a document and all its associated data - [Ingest File](https://databridge-add-core-funcs.mintlify.app/core-functions/ingest-file.md): Upload and process a file into Morphik - [List Documents](https://databridge-add-core-funcs.mintlify.app/core-functions/list-documents.md): List and filter documents in your Morphik database - [Retrieve Chunks](https://databridge-add-core-funcs.mintlify.app/core-functions/retrieve-chunks.md): Search and retrieve relevant chunks from your documents - [Getting Started](https://databridge-add-core-funcs.mintlify.app/getting-started.md): Get up and running with Morphik - [What is Morphik?](https://databridge-add-core-funcs.mintlify.app/introduction.md): An overview of Morphik - [How do I set up RAG?](https://databridge-add-core-funcs.mintlify.app/knowledge-base/how-do-i-set-up-rag.md): Overview of building a retrieval augmented generation workflow - [How do I handle multi-modal inputs?](https://databridge-add-core-funcs.mintlify.app/knowledge-base/how-to-handle-multi-modal-inputs.md): Combining text, images, and other data types in a search system - [How can I improve retrieval accuracy?](https://databridge-add-core-funcs.mintlify.app/knowledge-base/how-to-improve-retrieval-accuracy.md): Best practices for getting the most relevant results from your data - [How should I chunk my documents?](https://databridge-add-core-funcs.mintlify.app/knowledge-base/how-to-manage-document-chunking.md): Guidance on splitting data for optimal retrieval - [How do I perform search over documents?](https://databridge-add-core-funcs.mintlify.app/knowledge-base/how-to-perform-search-over-documents.md): Techniques for searching document collections efficiently - [Local Inference](https://databridge-add-core-funcs.mintlify.app/local-inference.md): Run Morphik completely offline with local embedding and completion models - [add_document_to_folder](https://databridge-add-core-funcs.mintlify.app/python-sdk/add_document_to_folder.md): Add an existing document to a folder - [batch_get_chunks](https://databridge-add-core-funcs.mintlify.app/python-sdk/batch_get_chunks.md): Retrieve specific chunks by their document ID and chunk number - [batch_get_documents](https://databridge-add-core-funcs.mintlify.app/python-sdk/batch_get_documents.md): Retrieve multiple documents by their IDs in a single batch operation - [check_workflow_status](https://databridge-add-core-funcs.mintlify.app/python-sdk/check_workflow_status.md): Poll the status of an asynchronous graph build/update workflow - [close](https://databridge-add-core-funcs.mintlify.app/python-sdk/close.md): Close the HTTP session or client - [create_folder](https://databridge-add-core-funcs.mintlify.app/python-sdk/create_folder.md): Create a new folder for organizing documents - [create_graph](https://databridge-add-core-funcs.mintlify.app/python-sdk/create_graph.md): Create a graph from documents - [delete_document](https://databridge-add-core-funcs.mintlify.app/python-sdk/delete_document.md): Delete a document and all its associated data - [delete_document_by_filename](https://databridge-add-core-funcs.mintlify.app/python-sdk/delete_document_by_filename.md): Delete a document by its filename - [delete_folder](https://databridge-add-core-funcs.mintlify.app/python-sdk/delete_folder.md): Delete a folder and its documents - [extract_document_pages](https://databridge-add-core-funcs.mintlify.app/python-sdk/extract_document_pages.md): Extract specific pages from a document - [Folder Management](https://databridge-add-core-funcs.mintlify.app/python-sdk/folders.md): Organize and isolate data into logical folder groups in Morphik - [get_chat_history](https://databridge-add-core-funcs.mintlify.app/python-sdk/get_chat_history.md): Fetch the full message history for a specific chat conversation - [get_document](https://databridge-add-core-funcs.mintlify.app/python-sdk/get_document.md): Get document metadata by ID - [get_document_by_filename](https://databridge-add-core-funcs.mintlify.app/python-sdk/get_document_by_filename.md): Get document metadata by filename - [get_document_download_url](https://databridge-add-core-funcs.mintlify.app/python-sdk/get_document_download_url.md): Generate a presigned URL to download a document's raw file content - [get_document_file](https://databridge-add-core-funcs.mintlify.app/python-sdk/get_document_file.md): Download the raw file content of a document - [get_document_status](https://databridge-add-core-funcs.mintlify.app/python-sdk/get_document_status.md): Get the current processing status of a document - [get_folder](https://databridge-add-core-funcs.mintlify.app/python-sdk/get_folder.md): Retrieve a folder by name, canonical path, or UUID - [get_folders_details](https://databridge-add-core-funcs.mintlify.app/python-sdk/get_folders_details.md): Get detailed information about folders with optional document statistics - [get_folders_summary](https://databridge-add-core-funcs.mintlify.app/python-sdk/get_folders_summary.md): Get summary information for all accessible folders - [get_graph](https://databridge-add-core-funcs.mintlify.app/python-sdk/get_graph.md): Get a graph by name - [get_graph_status](https://databridge-add-core-funcs.mintlify.app/python-sdk/get_graph_status.md): Get the current status of a graph with pipeline stage information - [get_graph_visualization](https://databridge-add-core-funcs.mintlify.app/python-sdk/get_graph_visualization.md): Retrieve nodes and links for visualizing a knowledge graph - [get_recent_usage](https://databridge-add-core-funcs.mintlify.app/python-sdk/get_recent_usage.md): Retrieve a log of recent usage entries with optional filters - [get_usage_stats](https://databridge-add-core-funcs.mintlify.app/python-sdk/get_usage_stats.md): Retrieve cumulative token usage for the current user or application - [ingest_file](https://databridge-add-core-funcs.mintlify.app/python-sdk/ingest_file.md): Ingest a file document into Morphik - [ingest_files](https://databridge-add-core-funcs.mintlify.app/python-sdk/ingest_files.md): Batch ingest multiple files into Morphik - [ingest_text](https://databridge-add-core-funcs.mintlify.app/python-sdk/ingest_text.md): Ingest a text document into Morphik - [list_chat_conversations](https://databridge-add-core-funcs.mintlify.app/python-sdk/list_chat_conversations.md): List recent chat conversations for the authenticated user - [list_documents](https://databridge-add-core-funcs.mintlify.app/python-sdk/list_documents.md): List accessible documents in Morphik - [list_folders](https://databridge-add-core-funcs.mintlify.app/python-sdk/list_folders.md): List all folders available to the client - [list_graphs](https://databridge-add-core-funcs.mintlify.app/python-sdk/list_graphs.md): List all graphs the user has access to - [Morphik](https://databridge-add-core-funcs.mintlify.app/python-sdk/morphik.md): Main client for document operations in Morphik - [ping](https://databridge-add-core-funcs.mintlify.app/python-sdk/ping.md): Health-check endpoint – verify that your Morphik server is reachable - [query](https://databridge-add-core-funcs.mintlify.app/python-sdk/query.md): Generate completion using relevant chunks as context - [query_document](https://databridge-add-core-funcs.mintlify.app/python-sdk/query_document.md): Run a one-off Morphik On-the-Fly analysis with optional ingestion follow-up - [remove_document_from_folder](https://databridge-add-core-funcs.mintlify.app/python-sdk/remove_document_from_folder.md): Remove a document from a folder - [retrieve_chunks](https://databridge-add-core-funcs.mintlify.app/python-sdk/retrieve_chunks.md): Retrieve relevant chunks from Morphik - [retrieve_chunks_grouped](https://databridge-add-core-funcs.mintlify.app/python-sdk/retrieve_chunks_grouped.md): Retrieve relevant chunks with grouping for UI display - [retrieve_docs](https://databridge-add-core-funcs.mintlify.app/python-sdk/retrieve_docs.md): Retrieve relevant documents from Morphik - [search_documents](https://databridge-add-core-funcs.mintlify.app/python-sdk/search_documents.md): Search for documents by name or filename - [update_document_by_filename_metadata](https://databridge-add-core-funcs.mintlify.app/python-sdk/update_document_by_filename_metadata.md): Update a document's metadata using filename to identify the document - [update_document_by_filename_with_file](https://databridge-add-core-funcs.mintlify.app/python-sdk/update_document_by_filename_with_file.md): Update a document identified by filename with content from a file - [update_document_by_filename_with_text](https://databridge-add-core-funcs.mintlify.app/python-sdk/update_document_by_filename_with_text.md): Update a document identified by filename with new text content - [update_document_metadata](https://databridge-add-core-funcs.mintlify.app/python-sdk/update_document_metadata.md): Update a document's metadata only - [update_document_with_file](https://databridge-add-core-funcs.mintlify.app/python-sdk/update_document_with_file.md): Update a document with content from a file - [update_document_with_text](https://databridge-add-core-funcs.mintlify.app/python-sdk/update_document_with_text.md): Update a document with new text content - [update_graph](https://databridge-add-core-funcs.mintlify.app/python-sdk/update_graph.md): Update an existing knowledge graph with new documents - [User Management](https://databridge-add-core-funcs.mintlify.app/python-sdk/users.md): Organize and isolate data by end user in Morphik - [wait_for_graph_completion](https://databridge-add-core-funcs.mintlify.app/python-sdk/wait_for_graph_completion.md): Block until a graph finishes processing - [Installation](https://databridge-add-core-funcs.mintlify.app/self-hosting.md): Install Morphik on your own infrastructure - [Special Thanks](https://databridge-add-core-funcs.mintlify.app/special-thanks.md): Thanking our amazing users for pointing out bugs, requesting features, and being early adopters ❤️ - [Code](https://databridge-add-core-funcs.mintlify.app/using-morphik/code.md): Learn how to use the Morphik Python SDK or REST API - [Model Context Protocol (MCP)](https://databridge-add-core-funcs.mintlify.app/using-morphik/mcp.md): Enable Claude and other AI assistants to access your Morphik knowledge base - [Morphik UI](https://databridge-add-core-funcs.mintlify.app/using-morphik/morphik-ui.md): Learn how to use the Morphik UI interface