GET
/
base-model
/
{name}
Retrieve a base model
curl --request GET \
  --url https://app.empower.dev/api/v1/base-model/{name} \
  --header 'Authorization: Bearer <token>'
{
  "active_deployment": {
    "created_at": 1706652711,
    "creator": {
      "actor_type": "USER",
      "api_key": {
        "name": "<string>"
      },
      "user": {
        "email": "<string>",
        "first_name": "<string>",
        "last_name": "<string>",
        "profile_image_url": "<string>"
      }
    },
    "model_name": "meta-llama/Llama-2-7b-chat-hf",
    "model_source": "HF_HUB"
  },
  "name": "meta-llama/Llama-2-7b-chat-hf",
  "unit_price": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

name
string
required

Name of the base model

Response

Retrieve the base model successfully.

name
string
required

Name of the base model, used as the unique identifier.

Example:

"meta-llama/Llama-2-7b-chat-hf"

unit_price
number
required
active_deployment
object

Current active deployment of the base model.