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
name
string
required
compute
enum<string>
required
Available options:
T4,
A100-40GB,
A100-80GB,
A10G,
A100-80GB,
L4
lora_checkpoints
object[]
required
idle_timeout_seconds
integer
default:60

Response

200
application/json
Successful response
endpoint_id
string