Skip to content
Streamkap
Esc
↑↓navigate↵open⌘Jpreview

Patch Agent Llm Connection

Partial-update one LLM connection by id.

apiKey: "********" (or partial sk-a****xyz) -> no-op on that field. apiKey: null -> clear. Other fields merge over the existing row, then the merged row re-validates against AgentLlmConnection. Returns the masked persisted shape.

PATCH/agents/connections/llm/{connection_id}
Authorization
AuthorizationBearer token · headerrequired
Path parameters
connection_idstringrequired
Request body
requiredapplication/json
object
Responses
200

Successful Response

object
422

Validation Error

detailValidationError[]
Show properties
Array of ValidationError
locstring | integer[]required
Show properties
Array of string | integer
Any of:
string
string
integer
integer
msgstringrequired
typestringrequired
inputany
ctxobject
Request
curl -X PATCH 'https://api.streamkap.com/agents/connections/llm/string' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{}'
Response
{}