Install
- Python
- TypeScript
- Go
Connect with a personal access token
Create a personal access token and pass it as the bearer token. Set the server URL to your instance URL followed by/api/v1.
- Python
- TypeScript
- Go
If you leave out
security, the Python SDK reads the token from the PIPESHUB_BEARER_AUTH environment variable. OAuth 2.0 access tokens work the same way. See OAuth 2.0.What the SDKs cover
Each SDK exposes one namespace per area. The names below are the TypeScript names; Python usessnake_case (knowledge_base) and Go uses PascalCase (KnowledgeBase).
The SDKs do not cover the rest of the API, for example skills, actions (
/api/v1/toolsets; the API still calls them toolsets), MCP servers, projects, artifacts, notifications, service accounts, user and group administration, and the configuration manager. Call those endpoints over HTTP with the same token. Every instance serves its full reference at https://<your-instance>/api/v1/docs.
The Python SDK also ships retrievers for LangChain and LlamaIndex (pip install "pipeshub-sdk[langchain]" or "pipeshub-sdk[llamaindex]").
Versions
What changed from 1.7.0 to 2.0.0:
- Retrieval.
semanticSearch.retrieve(POST /api/v1/retrieve, see Retrieval API) was added. - Connectors. The
connectorRegistry,connectorInstances,connectorConfiguration,connectorControl,connectorFilters,connectorOAuthandoAuthConfigurationnamespaces were added. - Projects. The
projectsnamespace was removed. Check your code for it before you upgrade. - Go module path. The Go module moved to
github.com/pipeshub-ai/pipeshub-sdk-go/v2. Update your imports.