Skip to main content
GET
Get Template

En-têtes

Authorization
string
requis

Bearer authentication format, e.g.: Bearer {{API_KEY}}.

Paramètres de chemin

template_id
string
requis

Template ID. String, length: 1-255 characters.

Paramètres de requête

is_community
boolean

Whether to query a community template.

Réponse

200 - application/json

OK

id
string

Template ID

Exemple:

"tpl-001"

owner_id
string

Owner user ID

Exemple:

"owner-001"

name
string

Template name

Exemple:

"pytorch-2.3-cuda12"

type
string

Template type

Exemple:

"instance"

visibility
string

Visibility

Exemple:

"community"

image
string

Image address

Exemple:

"registry.example.com/ml/pytorch:2.3-cuda12"

registry_auth_id
string

Registry authentication ID

Exemple:

"auth-001"

command
string

Startup command

Exemple:

""

entrypoint
string

Image entrypoint

Exemple:

"/bin/bash"

rootfs_size_gb
integer

Root disk size. Unit: GB

Exemple:

50

ports
object[]

Exposed port configuration

envs
object[]

Environment variables

metadata
object

Template metadata

min_cuda_version
string

Minimum CUDA version

Exemple:

"12.2"

created_at
integer

Creation time. Unix timestamp

Exemple:

1715750400

updated_at
integer

Update time. Unix timestamp

Exemple:

1715750400

member_id
string

Creator member ID

Exemple:

"550e8400-e29b-41d4-a716-446655440000"

Dernière modification le 10 août 2026