---
title: "Moyai Connect Exchange"
method: POST
path: "/moyai/connect/exchange"
tags: ["moyai"]
---

# Moyai Connect Exchange

`POST /moyai/connect/exchange`

## Request

- Base URL: `https://api.sea-lion.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sea-lion.ai/moyai/connect/exchange`
- Auth: none declared

## Request body

- MoyaiConnectExchangeRequest
  - `code` string, required
  - `moyai_url` string, required

## Response `200`

Successful Response

- MoyaiConnectExchangeResponse
  - `api_key` string, required
  - `key_alias` string, required
  - `api_base` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-21** `f2fb14eab3f5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sea-lion/apis/litellm-api/changes/moyai/connect/exchange/post.md)

---

[API](https://skmtc.dev/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.dev/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sea-lion/apis/litellm-api/revisions/1ba9123c189a?raw)
