---
title: "Create Agent Llm Connection"
method: POST
path: "/agents/connections/llm"
tags: ["Agents"]
---

# Create Agent Llm Connection

`POST /agents/connections/llm`

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.

## Request body

- object

## Response `201`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/streamkap/apis/streamkap-rest-api.md) · [All operations](https://skmtc.net/streamkap/apis/streamkap-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/streamkap/streamkap-rest-api/revisions/8aea6143d003/schema)
