The LoRAs the caller can use (shared ones of the live hosts, and the caller's own); not paginated
const url = 'http://localhost:8300/v1/studio/loras?source=shared';const options = { method: 'GET', headers: {'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:8300/v1/studio/loras?source=shared' \ --header 'Authorization: Bearer <token>' \ --header 'x-api-key: <x-api-key>'Shared LoRAs are the union of every live host’s registry <host>.<env>.loras (one entry per id, hosts = the live hosts that list it, sorted; family = the first not unknown over those hosts); own LoRAs are the caller’s rows in every state (owner-scoped; another user’s never appear). Filters combine with AND: source, family (exact, unknown included), q (every whitespace-separated word occurs, case-insensitively, in name). Order: own first, newest created_at first; then shared by name (case-insensitive, code points), then id. thumb_url is the caller’s oldest take whose made_with.loras has the id (never another user’s).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Shared: a file on the GPU hosts (registry <host>.<env>.loras), usable by everyone; mine: the caller’s own upload
Only LoRAs detected for this family (unknown: those that fit none)
Words of the name; blank = no filter
Responses
Section titled “Responses”LoRAs
object
A LoRA in the library. Shared and own LoRAs have one shape; hosts is set only for shared ones, reason only for a rejected one. rank, key_style, sha256 are null until an own LoRA is ready.
object
Shared: the file’s SHA-256; mine: a UUID
Shared: a file on the GPU hosts (registry <host>.<env>.loras), usable by everyone; mine: the caller’s own upload
The model family it fits (qwen-image), or unknown (it fits no family published now, or not checked yet)
The largest A/B rank
From the file’s metadata (modelspec.license, else license); null when it names none
Shared: the live hosts that have it (sorted); mine: [] (any host fetches it on first use)
Own LoRAs: pending (created, not completed), ready (checked and indexed), rejected (a check failed: reason); shared ones are always ready
Rejected: why (the complete call’s 422 detail); null otherwise
Mine: the upload’s creation; shared: the file’s mtime (the oldest over its hosts)
Shared only: the title of a model a host publishes with this LoRA pre-fused into its weights (its file cannot be deleted: delete the model instead); absent otherwise
The caller’s own LoRAs against the quota, counted as the upload’s 409s count them (every state; pending and ready bytes plus deleted ones until the sweep), whatever the filters
object
Example
{ "loras": [ { "source": "shared", "family": "qwen-image", "key_style": "peft", "state": "pending", "thumb_url": "/files/u/7d1e.../runs/3c9a.../0.png?exp=1767225600&sig=ab12" } ], "usage": { "max_count": 50, "max_bytes": 21474836480 }}Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token
object
Example generated
{ "detail": "example"}Invalid input
object
Example generated
{ "detail": "example"}Retryable
object
Example generated
{ "detail": "example"}