Skip to main content
Create a new serverless endpoint that can execute your AI models on-demand. Endpoints are created from templates and can be scaled with multiple workers.

Required Parameters

  • name: Human-readable name for the endpoint (1-100 characters)
  • templateId: ID of the template to use for the endpoint
  • gpuIds: Array of GPU IDs to allocate to the endpoint

Optional Parameters

  • workerCount: Number of workers (1-10, default: 1)

Example Usage

Response

Returns the created endpoint object:
Endpoint creation is asynchronous. The endpoint will show pending status while being provisioned, then transition to active when ready to accept requests.