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

Create Agent Llm Connection

Create one LLM connection. id is server-generated.

Validates against the same AgentLlmConnection model the bulk PUT uses; capability-matrix / length / type errors surface as the standard FastAPI 422 envelope. Duplicate name within the tenant returns 409 with the same shape the bulk PUT uses for surfaceable conflicts.

POST/agents/connections/llm
Authorization
AuthorizationBearer token · headerrequired
Request body
requiredapplication/json
object
Responses
201

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 POST 'https://api.streamkap.com/agents/connections/llm' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{}'
Response
{}