Skip to main content
PUT
Update Agent Connections

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Tenant-scoped saved agent connections. Stored in MongoDB agent_connections collection.

The bulk shape behind GET /agents/connections and PUT /agents/connections: per-tenant lists of LLM, MCP, and HTTP connection profiles that agents reference at deploy time.

The Mongo collection is agent_connections; per-row CRUD lives at /agents/connections/{kind} (see app.services.agent_connections_service).

llmConnections
AgentLlmConnection · object[]

Saved LLM connections - credentials + default tuning. Reusable across many agents.

mcpConnections
(StreamkapMcpConnection · object | ExternalMcpNoneConnection · object | ExternalMcpBearerConnection · object | ExternalMcpHeaderConnection · object)[]

Saved MCP connections (external-source only)

A saved Streamkap MCP server connection.

Authenticated via a pasted Project Key credential file in headers["X-Streamkap-Project-Key"]. The BE structurally validates the blob on save, encrypts every header value at rest, and the MCP server (streamkap-tools) enforces the PK's stored tool_profile / allowed_tools / blocked_tools scoping per session.

httpConnections
AgentHttpConnection · object[]

Saved HTTP API connections. Referenced by HTTP tool rows via connectionId to inherit baseUrl + headers without duplicating them per tool.

vectorStoreConnections
AgentVectorStoreConnection · object[]

Lightweight vector store credentials (apiKey + endpoint). Used by KBs and agent long-term memory.

Response

Successful Response

The response is of type Response Updateagentconnections · object.