---
title: "Save Connection"
method: POST
path: "/v1/connections"
tags: ["connections"]
---

# Save Connection

`POST /v1/connections`

## Request

- Base URL: `https://api.june.januraine.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.june.januraine.ai/v1/connections`
- Auth: none declared

## Headers

- `X-Canvas` string, nullable
- `X-API-Key` string, nullable
- `Authorization` string, nullable

## Request body

- SaveConnectionIn: Saving a profile — note there is **no password field** (secret never stored).
  - `nickname` string, required
  - `driver` string, required
  - `database` string, required
  - `host` string, nullable
  - `port` integer, nullable
  - `user` string, nullable
  - `tables` string[], nullable

## Response `200`

Successful Response

- ConnectionProfileOut
  - `connection_id` string, required
  - `nickname` string, required
  - `driver` string, nullable
  - `host` string, nullable
  - `port` integer, nullable
  - `database` string, nullable
  - `user` string, nullable
  - `tables` string[]

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/januraine/apis/june-ai.md) · [All operations](https://skmtc.dev/januraine/apis/june-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/januraine/apis/june-ai/revisions/097b95b163c7?raw)
