Appearance
Endpoints
Scale-to-zero serverless workers.
POST /v1/endpoints
Returns 201 with ep_ id.
bash
curl -s -X POST https://api.skilleo.org/v1/endpoints \
-H "Authorization: Bearer $SKILLEO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"inference","gpu_ids":"AMPERE_16","workers_min":0,"workers_max":1,"template_id":"tpl_..."}'| Field | Default | Notes |
|---|---|---|
name | skilleo-endpoint | |
gpu_ids | platform default | Serverless pool id from catalog |
workers_min | 0 | Scale to zero |
workers_max | 1 | |
storage_id | optional | sto_ volume |
template_id | optional | tpl_ shared template |
image | "" | Used when no template |
data.template_id on the envelope is the Skilleo tpl_ id when attached, never the RunPod template id.
GET /v1/endpoints
bash
curl -s https://api.skilleo.org/v1/endpoints \
-H "Authorization: Bearer $SKILLEO_API_KEY"GET /v1/endpoints/{id}
bash
curl -s https://api.skilleo.org/v1/endpoints/ep_abc123 \
-H "Authorization: Bearer $SKILLEO_API_KEY"DELETE /v1/endpoints/{id}
Destroys the endpoint. Hidden auto-created templates are deleted; shared templates are not.
bash
curl -s -X DELETE https://api.skilleo.org/v1/endpoints/ep_abc123 \
-H "Authorization: Bearer $SKILLEO_API_KEY"