Admin Management

Create New Template

Create template on one or multiple GPU providers.

Args: request: Template configuration provider_name: Specific provider (if create_on_all_providers=False) admin_template_id: Optional admin template ID to use as defaults create_on_all_providers: If True, creates template on all supported providers

Returns: Template creation results from provider(s)

post/v1/admin/create-new-template

Request

  • Base URL: https://api.oneinfer.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.oneinfer.ai/v1/admin/create-new-template
  • Auth: HTTP bearer

Query parameters

provider_name'novita' | 'aws' | 'nebius_ai' | 'verda' | 'runpod' | 'vastai' | 'vultr' | 'azure' | 'e2e_networks'
admin_template_idstring nullable
create_on_all_providersboolean

Request body

namestring required
image_namestring required
disk_sizeinteger required
docker_start_cmdstring[] required
readmestring nullable
portsstring[] nullable
volumesobject[] nullable
envsobject nullable
volume_in_gbinteger nullable
volume_mount_pathstring nullable
is_serverlessboolean nullable
registry_auth_idstring nullable
rootfs_sizeinteger nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.