DashboardSign inStart your trial

Langbase

Reference

20 actions for Langbase workflows.

01. Operations

Act on Langbase from a workflow

Operations are the actions a workflow can take in Langbase, grouped by category. Each lists its method, parameters, and a template you can drop it into.

Chunking

1 operation

Break down large text or documents into smaller, manageable pieces for processing. Use this when you need to split content into chunks before feeding it to language models or storing it in a vector database for semantic search.

Action

Split Content into Chunks

LANGBASE_CHUNKER_SPLIT_CONTENT

Breaks down large text documents into smaller, manageable chunks that fit within system limits, making it easier to process lengthy content like articles, reports, or customer feedback through AI tools.

4 input

Documents

1 operation

Retrieve and manage documents stored within your Langbase memory system. Access this to view what documents are available in your memory namespace for retrieval-augmented generation workflows.

Action

List Documents in Memory

LANGBASE_DOCUMENT_LIST

Retrieve a list of documents stored in a specific memory, including their metadata and optional vector information. Use this to view what content you have stored and manage your knowledge base effectively.

4 input

Health

1 operation

Verify the operational status and availability of the Langbase API. Check this endpoint at the start of your workflow to ensure the service is running before proceeding with other operations.

Action

Check API Health

LANGBASE_CHECK_HEALTH

Verify that the Langbase API service is operational and accessible before running critical workflows or integrations. This helps you diagnose connectivity issues and ensure your AI applications can function properly.

Memory

3 operations

Manage knowledge stores and semantic memory across your workflows by creating, listing, and deleting memory collections. Use these operations to maintain persistent knowledge bases that your pipes and applications can query for context-aware responses.

Action★ Featured

Create Memory

LANGBASE_MEMORY_CREATE

Store new information in Langbase's memory system to build a persistent knowledge base that your AI applications can reference in future conversations and interactions.

6 input
Action

Delete Memory

LANGBASE_MEMORY_DELETE

Permanently remove a stored memory from your Langbase instance by its name. Use this when you need to clean up outdated information or correct mistaken entries.

1 input
Action

List Memories

LANGBASE_MEMORY_LIST

Retrieve all stored memories from your knowledge base to access previously saved information and context for your conversations or applications.

Messages

4 operations

Handle individual messages within conversation threads by creating, retrieving, updating, and removing them. These operations let you maintain full control over conversation history and message content in multi-turn chat workflows.

Action★ Featured

Append Thread Messages

LANGBASE_APPEND_THREAD_MESSAGES

Add new messages to an existing conversation thread to continue ongoing discussions or build context in a chat session.

2 input
Action

Delete Thread Message

LANGBASE_DELETE_THREAD_MESSAGE

Removes a specific message from a conversation thread, allowing you to clean up mistakes, sensitive information, or irrelevant content from your chat history.

2 input
Action

List Thread Messages

LANGBASE_LIST_THREAD_MESSAGES

Retrieves all messages from a conversation thread to review the full discussion history and context. This helps you track conversations, audit interactions, and reference past communications.

3 input
Action

Update Thread Message

LANGBASE_UPDATE_THREAD_MESSAGE

Modify the content or details of a message you've already sent in a conversation thread, allowing you to correct errors or update information without losing the conversation context.

4 input

Models

1 operation

Discover which language models are available for use in your Langbase workspace. Check this to see the models you can reference when building pipes or making API calls.

Action

List Available Models

LANGBASE_LIST_MODELS

Discover all AI models available through Langbase to understand which text and image generation options you can use for your projects.

Pipes

4 operations

Create, configure, retrieve, and modify the processing pipelines that define how your data flows through Langbase. Use these to build and manage reusable AI workflows that combine prompts, models, and memory into executable units.

Action★ Featured

Create a new pipe

LANGBASE_PIPE_CREATE

Creates a new pipe with the specified configuration and returns the API key and URL needed to use it. Use this to set up a new communication channel or workflow automation in your Langbase project.

17 input
Action★ Featured

List all pipes

LANGBASE_PIPE_LIST

Retrieve a complete list of all your AI pipes to view what automation workflows and conversational systems you have set up. This helps you manage, monitor, and organize your available AI solutions in one place.

Action

Get Pipe Details

LANGBASE_GET_PIPE

Retrieves the complete configuration and settings for a specific pipe, including its parameters, integrations, and workflow setup. Use this when you need to review or audit how a particular pipe is configured.

2 input
Action

Update an existing pipe

LANGBASE_UPDATE_PIPE

Modify an existing pipe's configuration including model settings, parameters, prompts, tools, or memory. This lets you refine and optimize your AI automation workflows without creating new pipes.

22 input

Threads

4 operations

Establish and manage conversation threads that maintain context across multiple message exchanges. Create threads to start new conversations, update metadata for organization, retrieve thread details for context, or delete threads when conversations are complete.

Action

Create Thread

LANGBASE_CREATE_THREAD

Start a new conversation thread to organize and manage separate chat sessions with your users or customers. Each thread keeps messages grouped and isolated for better conversation management.

3 input
Action

Delete Thread

LANGBASE_DELETE_THREAD

Permanently remove a conversation thread from your Langbase instance to clean up and manage your conversation history. Use this when you no longer need to retain discussion threads.

1 input
Action

Get Thread Details

LANGBASE_GET_THREAD

Retrieve comprehensive details about a specific conversation thread, including all messages and metadata. This helps you review past conversations, access customer inquiries, or pull complete communication history for reference.

1 input
Action

Update Thread Metadata

LANGBASE_UPDATE_THREAD

Update metadata fields for conversation threads to keep your discussions organized and labeled with relevant information like topics, status, or priority.

2 input

Traces

1 operation

Review execution logs and performance traces from your pipes and API calls. Access this to debug workflow issues, monitor performance, and understand how your operations processed data.

Action

List Execution Traces

LANGBASE_LIST_TRACES

Retrieve execution traces from your Langbase pipes to monitor performance and troubleshoot issues when things aren't working as expected. This helps you understand what happened during each run and identify bottlenecks or errors.

5 input
What now

Use Langbase in a workflow

Drop a trigger and an action into a template; approve from your phone; the workflow runs.