GET
/
base-model
curl --request GET \
  --url https://app.empower.dev/api/v1/base-model \
  --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.

Response

200
application/json
List base models successfully.
name
string
required

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

unit_price
number
required
active_deployment
object

Current active deployment of the base model.