{
  "info": {
    "name": "Langbase — mcp.ai",
    "description": "REST API for the Langbase MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/langbase",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "langbase_append_thread_messages",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/append/thread/messages",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "append",
            "thread",
            "messages"
          ]
        },
        "description": "Tool to add new messages to an existing conversation thread. Use when continuing a chat session or adding context to a thread.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"messages\": \"\",\n  \"threadId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_check_health",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/check/health",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "check",
            "health"
          ]
        },
        "description": "Tool to check the health status of the Langbase API service. Use when you need to verify API availability.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_chunker_split_content",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/chunker/split/content",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "chunker",
            "split",
            "content"
          ]
        },
        "description": "Tool to split content into smaller chunks. Use when processing large text segments to fit downstream limits.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"content\": \"\",\n  \"overlap\": 0,\n  \"chunk_size\": 0,\n  \"chunker_type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_create_thread",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/thread",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "thread"
          ]
        },
        "description": "Tool to create a new conversation thread. Use when starting a fresh chat session or grouping messages into a distinct thread.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"messages\": \"\",\n  \"metadata\": {},\n  \"threadId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_delete_thread",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/thread",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "thread"
          ]
        },
        "description": "Tool to delete a thread that is no longer needed to manage conversation history. Use when you need to permanently remove a thread by its ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"threadId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_delete_thread_message",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/thread/message",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "thread",
            "message"
          ]
        },
        "description": "Tool to delete a specific message from a conversation thread. Use when you need to remove a message from a thread by its ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"threadId\": \"\",\n  \"messageId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_document_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/document/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "document",
            "list"
          ]
        },
        "description": "Tool to list documents in a specific memory. Use when you need to fetch document metadata (and optionally vectors) from a memory after confirming its name. Supports pagination via limit and startAfter",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"memoryName\": \"\",\n  \"startAfter\": \"\",\n  \"includeVectors\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_get_pipe",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/pipe",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "pipe"
          ]
        },
        "description": "Tool to retrieve details of a specific pipe by owner and name. Use when you need to fetch configuration and settings of a particular pipe.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"pipe_name\": \"\",\n  \"owner_login\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_get_thread",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/thread",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "thread"
          ]
        },
        "description": "Tool to retrieve details of a specific conversation thread. Use when you need the full thread details by its ID after confirming its existence.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"threadId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_list_models",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/models",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "models"
          ]
        },
        "description": "Tool to get available AI models supported by Langbase. Use to discover text and image generation models from various providers.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_list_thread_messages",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/thread/messages",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "thread",
            "messages"
          ]
        },
        "description": "Tool to list all messages in a conversation thread. Use after obtaining the thread ID to fetch its messages.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"before\": \"\",\n  \"threadId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_list_traces",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/traces",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "traces"
          ]
        },
        "description": "Tool to get execution traces for debugging and monitoring pipe runs. Use when you need to retrieve trace logs for a specific primitive.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"order\": \"\",\n  \"offset\": 0,\n  \"primitiveId\": \"\",\n  \"primitiveName\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_memory_create",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/memory/create",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "memory",
            "create"
          ]
        },
        "description": "Tool to create a new memory. Use when storing a new memory record in Langbase after confirming memory details.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"top_k\": 0,\n  \"chunk_size\": 0,\n  \"description\": \"\",\n  \"chunk_overlap\": 0,\n  \"embedding_model\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_memory_delete",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/memory/delete",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "memory",
            "delete"
          ]
        },
        "description": "Tool to delete a specific memory. Use when you need to permanently remove a stored memory by its name.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"memory_name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_memory_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/memory/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "memory",
            "list"
          ]
        },
        "description": "Tool to list all memory objects. Use when you need to fetch stored memories for context retrieval.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_pipe_create",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/pipe/create",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "pipe",
            "create"
          ]
        },
        "description": "Tool to create a new pipe. Use after configuring pipe parameters. Returns an array of pipe objects, each including API key and URL.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"json\": false,\n  \"name\": \"\",\n  \"stop\": \"\",\n  \"model\": \"\",\n  \"store\": false,\n  \"top_p\": 0,\n  \"status\": \"\",\n  \"stream\": false,\n  \"upsert\": false,\n  \"moderate\": false,\n  \"max_tokens\": 0,\n  \"description\": \"\",\n  \"temperature\": 0,\n  \"tool_choice\": \"\",\n  \"presence_penalty\": 0,\n  \"frequency_penalty\": 0,\n  \"parallel_tool_calls\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_pipe_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/pipe/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "pipe",
            "list"
          ]
        },
        "description": "Tool to list all pipes. Use after authentication to retrieve the complete list of pipes. Returns an array of pipe objects; callers must handle list iteration.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_update_pipe",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/pipe",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "pipe"
          ]
        },
        "description": "Tool to update an existing pipe's configuration on Langbase. Use when modifying model settings, parameters, prompts, tools, or memory. The pipe must already exist.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"json\": false,\n  \"name\": \"\",\n  \"stop\": \"\",\n  \"model\": \"\",\n  \"store\": false,\n  \"tools\": \"\",\n  \"top_p\": 0,\n  \"memory\": \"\",\n  \"status\": \"\",\n  \"stream\": false,\n  \"messages\": \"\",\n  \"moderate\": false,\n  \"pipe_name\": \"\",\n  \"variables\": \"\",\n  \"max_tokens\": 0,\n  \"description\": \"\",\n  \"temperature\": 0,\n  \"tool_choice\": \"\",\n  \"presence_penalty\": 0,\n  \"regenerateApiKey\": false,\n  \"frequency_penalty\": 0,\n  \"parallel_tool_calls\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_update_thread",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/thread",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "thread"
          ]
        },
        "description": "Tool to update an existing thread's metadata. Use when you need to modify metadata fields for managing and organizing conversation threads.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"metadata\": {},\n  \"threadId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "langbase_update_thread_message",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/thread/message",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "thread",
            "message"
          ]
        },
        "description": "Tool to update an existing message in a conversation thread. Use when you need to modify the content or metadata of a specific message.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"content\": \"\",\n  \"metadata\": {},\n  \"threadId\": \"\",\n  \"messageId\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}