---
title: "create endpoint"
method: POST
path: "/api/v0/endptjobs/"
tags: ["Serverless"]
---

# create endpoint

`POST /api/v0/endptjobs/`

This endpoint creates a new job processing endpoint with specified parameters.

CLI Usage: `vastai create endpoint [options]`

## Request body

- object
  - `min_load` number — Minimum load for the endpoint.
  - `target_util` number — Target utilization for the endpoint.
  - `cold_mult` number — Multiplier for cold start.
  - `cold_workers` integer — Number of cold workers.
  - `max_workers` integer — Maximum number of workers.
  - `endpoint_name` string — Name of the endpoint.

## Response `200`

Success response

- object
  - `success` boolean
  - `result` integer — The ID of the created endpoint

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests

---

[API](https://skmtc.net/vast/apis/vast-ai-api.md) · [All operations](https://skmtc.net/vast/apis/vast-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vast/vast-ai-api/revisions/4ed14f79f796/schema)
