AnythingLLM integration
AnythingLLM is a self-hosted document workspace that turns files into a searchable knowledge base and answers questions over it. The API lets an agent upload files, links and raw text as documents, browse the document folders, read a document and its metadata schema, create and remove folders and move files between them, create workspaces, pin or embed documents into a workspace, ask a workspace or one of its threads a question in chat or query mode and read the sources it answered from, run a raw vector search over a workspace, read and delete chat history, manage threads, manage users, invites and workspace membership, publish and inspect embeddable chat widgets, and read instance settings and vector counts. The host is part of the credential because every install is its own deployment. Authentication is an API key generated in the AnythingLLM settings under Tools, Developer API, sent as a bearer token.
What you can do with AnythingLLM
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Chat, 6 operations
- POSTchat_with_thread
Chat with a workspace thread.
- POSTchat_with_workspace
Execute a chat with a workspace.
- GETget_embed_session_chats
Get chats for a specific embed and session.
- GETlist_embed_chats
Get all chats for a specific embed.
- GETlist_thread_chats
Get chats for a workspace thread.
- GETlist_workspace_chats
Get a workspaces chats regardless of user by its unique slug.
User, 5 operations
- DELETEdelete_user
Delete existing user by id. Methods are disabled until multi user mode is enabled via the UI.
- GETlist_admin_users
Check to see if the instance is in multi-user-mode first. Methods are disabled until multi user mode is enabled via the UI.
- GETlist_users
List all users.
- GETlist_workspace_users
Retrieve a list of users with permissions to access the specified workspace.
- POSTupdate_user
Update existing user settings. Methods are disabled until multi user mode is enabled via the UI.
Embed, 3 operations
- DELETEdelete_embed
Delete an existing embed configuration.
- GETlist_embeds
List all active embeds.
- POSTupdate_embed
Update an existing embed configuration.
Workspace, 3 operations
- DELETEdelete_workspace
Deletes a workspace by its slug.
- GETget_workspace
Get a workspace by its unique slug.
- GETlist_workspaces
List all current workspaces.
Document, 2 operations
- GETget_document
Get a single document by its unique AnythingLLM document name.
- GETlist_documents
List of all locally-stored documents in instance. Optionally, pass ?folder=name to fetch the contents of a single folder, paginated with offset and limit (limit=all returns every.
Invite, 2 operations
- DELETEdelete_invite
Deactivates (soft-delete) invite by id. Methods are disabled until multi user mode is enabled via the UI.
- GETlist_invites
List all existing invitations to instance regardless of status. Methods are disabled until multi user mode is enabled via the UI.
Update, 2 operations
- POSTupdate_thread
Update thread name by its unique slug.
- POSTupdate_workspace
Update workspace settings by its unique slug.
Upload, 2 operations
- POSTupload_document
Upload a new file to AnythingLLM to be parsed and prepared for embedding, with optional metadata.
- POSTupload_document_to_folder
Upload a new file to a specific folder in AnythingLLM to be parsed and prepared for embedding. If the folder does not exist, it will be created.
Accepted file type, 1 operation
- GETlist_accepted_file_types
Check available filetypes and MIMEs that can be uploaded.
Auth, 1 operation
- GETverify_api_key
Verify the attached Authentication header contains a valid API token.
Export chat, 1 operation
- GETexport_chats
Export all of the chats from the system in a known format. Output depends on the type sent. Will be send with the correct header for the output.
Folder, 1 operation
- GETget_document_folder
Get all documents stored in a specific folder. Returns every document by default; pass offset and limit to paginate.
Generated file, 1 operation
- GETget_generated_file
Download a file generated by an agent skill (e.g., PDF, DOCX, XLSX, PPTX). The filename is returned in the `outputs` array of a chat response when an agent generates a file. Use.
Is multi user mode, 1 operation
- GETget_multi_user_mode
Check to see if the instance is in multi-user-mode first. Methods are disabled until multi user mode is enabled via the UI.
Manage user, 1 operation
- POSTmanage_workspace_users
Set workspace permissions to be accessible by the given user ids and admins. Methods are disabled until multi user mode is enabled via the UI.
Metadata schema, 1 operation
- GETget_metadata_schema
Get the known available metadata schema for when doing a raw-text upload and the acceptable type of value for each key.
New, 1 operation
- POSTcreate_thread
Create a new workspace thread.
Remove document, 1 operation
- DELETEdelete_documents
Permanently remove documents from the system.
Remove folder, 1 operation
- DELETEremove_document_folder
Remove a folder and all its contents from the documents storage directory.
System, 1 operation
- GETget_system_settings
Get all current system settings that are defined.
Thread, 1 operation
- DELETEdelete_thread
Delete a workspace thread.
Update embedding, 1 operation
- POSTupdate_workspace_embeddings
Add or remove documents from a workspace by its unique slug.
Update pin, 1 operation
- POSTupdate_workspace_pin
Add or remove pin from a document in a workspace by its unique slug.
Update user, 1 operation
- POSTupdate_workspace_users
Overwrite workspace permissions to only be accessible by the given user ids and admins. Methods are disabled until multi user mode is enabled via the UI.
Vector count, 1 operation
- GETget_vector_count
Number of all vectors in connected vector database.
Vector search, 1 operation
- POSTsearch_workspace_vectors
Perform a vector similarity search in a workspace.
Use AnythingLLM from Claude Code, Cursor or Codex
Connect AnythingLLM in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its AnythingLLM operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect AnythingLLM
Create your workspace
Sign up free. Nothing to install.
Connect AnythingLLM once
Add your AnythingLLM connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
AnythingLLM integration FAQ
- What can you do with the AnythingLLM integration?
- LiveContext exposes 43 operations on AnythingLLM, covering chat, user, embed and workspace.
Popular integrations
Instagram API with Instagram Login (graph.instagram.com). Manage a Business/Creator Instagram account…
Messaging platform API for building bots and integrations. Send messages, manage chats and channels, handle…
Google email service API for sending, receiving, and managing emails. Access messages, threads, labels,…
Google's video platform API for accessing video, channel, playlist, and comment data
Social media platform API for posting, reading, and managing Twitter/X content. Post tweets, read timelines,…
Social media platform API for content creators and businesses. Access user info, manage videos, get…
Professional networking platform API for managing profiles, connections, and content. Share posts, manage…
AI API from xAI (Elon Musk's AI company) powering Grok models. Access state-of-the-art language models with…