---
title: "Create Connection"
method: POST
path: "/api/v1/model-connections/provider-connections"
tags: ["main", "model-connections"]
---

# Create Connection

`POST /api/v1/model-connections/provider-connections`

## Request

- Base URL: `https://app.dograh.com`
- URL: `https://app.dograh.com/api/v1/model-connections/provider-connections`
- Auth: none declared

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable

## Request body

- ProviderConnectionCreate
  - `name` string, required
  - `provider` string, required
  - `credentials` object
  - `connection_settings` object

## Response `201`

Successful Response

- ProviderConnectionResponse
  - `uuid` string, uuid, required
  - `name` string, required
  - `provider` string, required
  - `connection_settings` object, required
  - `configured_credentials` string[], required
  - `revision` integer, required
  - `is_active` boolean, required

## Other responses

- `404`: Not found
- `422`: Validation Error

## Changes

- **2026-11-03** `faa00cf76fcb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dograh/apis/dograh-api/changes/api/v1/model-connections/provider-connections/post.md)

---

[API](https://skmtc.dev/dograh/apis/dograh-api.md) - [All operations](https://skmtc.dev/dograh/apis/dograh-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dograh/apis/dograh-api/revisions/faa00cf76fcb?raw)
