POST
/
endpoints
/
create_multi_lora_endpoint
curl --request POST \
  --url https://api.getflex.ai/v1/endpoints/create_multi_lora_endpoint \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "compute": "T4",
  "lora_checkpoints": [
    {
      "id": "<string>",
      "name": "<string>"
    }
  ],
  "idle_timeout_seconds": 60
}'
{
  "endpoint_id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Successful response

The response is of type object.