---
title: "Register Model Adapter"
method: POST
path: "/v1/adapters"
tags: ["public_api", "external", "model-adapters"]
---

# Register Model Adapter

`POST /v1/adapters`

## Request

- Base URL: `https://api.hydracept.com`
- URL: `https://api.hydracept.com/v1/adapters`
- Auth: HTTP bearer

## Query parameters

- `projectId` string, nullable

## Request body

- ModelAdapterCreate
  - `type` 'lora'
  - `displayName` string, required
  - `source` ModelAdapterSource, required
    - `kind` 'hydracept_artifact' | 'huggingface' | 'provider_ref', required
    - `ref` string, required
    - `revision` string, nullable
    - `filePath` string, nullable
    - `provider` string, nullable
  - `environment` string, nullable
  - `baseModelFamily` string, nullable
  - `compatibleModels` string[]
  - `triggerWords` string[]
  - `recommendedWeight` number, nullable
  - `licenseName` string, nullable
  - `licenseUrl` string, nullable
  - `licenseStatus` 'unknown' | 'declared' | 'verified'
  - `provenance` object

## Response `200`

Successful Response

- object

## Other responses

- `401`: Structured public error envelope (`code`, `message`, `requestId`, …)
- `403`: Structured public error envelope (`code`, `message`, `requestId`, …)
- `422`: Validation failure: public envelope plus Pydantic `detail` / `validationErrors`
- `429`: Structured public error envelope (`code`, `message`, `requestId`, …)
- `500`: Structured public error envelope (`code`, `message`, `requestId`, …)
- `502`: Structured public error envelope (`code`, `message`, `requestId`, …)
- `503`: Structured public error envelope (`code`, `message`, `requestId`, …)

---

[API](https://skmtc.dev/hydracept/apis/hydracept-public-api.md) · [All operations](https://skmtc.dev/hydracept/apis/hydracept-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hydracept/apis/hydracept-public-api/revisions/2d41a8069ede?raw)
