cURL
curl --request POST \ --url https://api.getflex.ai/v1/endpoints/create_regular_endpoint \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "model_name": "<string>", "compute": "T4", "checkpoint_id": "<string>", "idle_timeout_seconds": 60 } '
{ "endpoint_id": "<string>" }
Create either a regular or multi-LORA endpoint based on the request body
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
T4
A100-40GB
A100-80GB
A10G
L4
Successful response