List all LoRAs
List all LoRAs
Returns a list of all LoRAs. The LoRAs are returned sorted by deployment time, with the newest LoRA appearing first.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
curl --request GET \
--url https://app.empower.dev/api/v1/lora \
--header 'Authorization: Bearer <token>'
[
{
"active_deployment": {
"base_model_name": "meta-llama/Llama-2-7b-chat-hf",
"created_at": 1706652711,
"creator": {
"actor_type": "USER",
"api_key": {
"name": "<string>"
},
"user": {
"email": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"profile_image_url": "<string>"
}
},
"hf_revision": "c1b0db933684edbfe29a06fa47eb19cc48025e93",
"model_name": "IlyaGusev/saiga_mistral_7b_lora",
"model_source": "HF_HUB"
},
"name": "custom_mistral_7b_lora",
"unit_price": 123
}
]
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
Current active deployment of the LoRA.
Name of the base model the LoRA is based on.
Unix timestamp of when the deployment is created.
Creator of the deployment.
USER
, API_KEY
, OFFICIAL
Information of the api key, valid when actor_type is API_KEY
.
Information of the user actor, valid when actor_type is USER
.
Hugging Face repository revision, valid for Hugging Face models only.
Full name of the model. For Hugging Face model, use the Hugging Face repository id as the name.
Source of the model, currently only HF_HUB (Hugging Face hub) is supported.
HF_HUB
Name of the LoRA, used as the unique identifier.
curl --request GET \
--url https://app.empower.dev/api/v1/lora \
--header 'Authorization: Bearer <token>'
[
{
"active_deployment": {
"base_model_name": "meta-llama/Llama-2-7b-chat-hf",
"created_at": 1706652711,
"creator": {
"actor_type": "USER",
"api_key": {
"name": "<string>"
},
"user": {
"email": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"profile_image_url": "<string>"
}
},
"hf_revision": "c1b0db933684edbfe29a06fa47eb19cc48025e93",
"model_name": "IlyaGusev/saiga_mistral_7b_lora",
"model_source": "HF_HUB"
},
"name": "custom_mistral_7b_lora",
"unit_price": 123
}
]