cURL
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>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object