---
title: "Use or Add a Suggested LoRA"
method: POST
path: "/v1/adapters/suggestions/accept"
tags: ["public_api", "external", "model-adapters"]
---

# Use or Add a Suggested LoRA

`POST /v1/adapters/suggestions/accept`

## Request

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

Use a project LoRA, or register an unambiguous public one and then use it.

Registration happens only when a weights file is known. Several weight files,
or a missing base model, return the same choice the suggestion would have shown.
This does not generate an image or spend provider credits.

## Query parameters

- `projectId` string, nullable
- `environment` string, nullable

## Request body

- LoraAcceptRequest
  - `query` string, required
  - `filePath` string, nullable
  - `baseModelFamily` string, nullable
  - `refresh` boolean

## 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)
