Skip to content
Alphahelmstudio is early software: things will change, and some will break.What's newReport an issue

Delete an own LoRA (never refused)

DELETE
/v1/studio/loras/{lora_id}
curl --request DELETE \
--url http://localhost:8300/v1/studio/loras/example \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <x-api-key>'

The LoRA is gone at once (404 from then on, in no list, it frees its count and bytes); a sweep deletes the object a day later. Past takes keep made_with.loras (reuse answers it deleted). A run not yet released that names it fails at dispatch (LoRA <name> was deleted); a released one may still finish. A batch row whose run is made later fails invalid (lora.rows[1].lora: LoRA <id> not found). A workflow or preset that still names it gets the lora_unknown problem. 409 shared LoRAs are managed on their host for a shared id.

lora_id
required
string

A shared LoRA’s SHA-256 (64 hex) or an own LoRA’s UUID (malformed = 404)

Deleted

Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Not found

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

The resource’s state forbids this

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Retryable

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}