Sign in

Create endpoint

documented

Create/deploy a new Inference Endpoint.

POST /endpointsInference Endpointsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.endpoints.huggingface.cloud/v1/endpoints" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$endpoint_name}}", "repository": "{{$repository}}", "task": "{{$task}}", "framework": "{{$framework}}", "accelerator": "{{$accelerator}}", "vendor": "{{$vendor}}", "region": "{{$region}}", "instance_size": "{{$instance_size}}", "instance_type": "{{$instance_type}}", "type": "{{$type}}", "namespace": "{{$namespace}}", "revision": "{{$revision}}", "custom_image": {{$custom_image}}, "secrets": {{$secrets}} }'