E2BListedTemplate

更新时间:
复制 MD 格式

名称

类型

描述

示例值

object

模板列表项。兼容 E2B 模板结构,用于列表查询场景返回模板的概要信息。

templateID

string

沙箱模板 ID。

tm-8f3a2c7b5e14d806

cpuCount

integer

沙箱实例的 CPU 规格,单位为核。

2

memoryMB

integer

沙箱实例的内存规格,单位为 MB。

2048

public

boolean

模板是否对所有团队公开。

createdAt

string

创建时间,为 UTC 时间,格式为 RFC 3339。

2026-08-20T08:30:00Z

updatedAt

string

最后更新时间,为 UTC 时间,格式为 RFC 3339。

2026-08-21T09:15:30Z

logConfiguration

LogConfiguration

模板的日志投递配置。

buildStatus

string

模板构建状态。取值:waiting(等待构建)、building(构建中)、ready(构建成功)、error(构建失败)。

ready

statusReason

string

模板构建失败的原因描述,已做脱敏处理。构建成功时为空。

拉取源镜像失败:认证信息无效

teamID

string

资源所属团队的 ID,为 UUID 格式。

5f4a2c18-****

teamName

string

团队名称。

sandbox-dev

userID

string

资源创建者的用户 ID,为 UUID 格式。

9c1d4e72-****

resourceGroupID

string

团队所属的阿里云资源组 ID。

rg-****

category

string

模板类别。取值:builtin(系统内置模板)、custom(用户自建模板)。

custom

functionName

string

模板当前指向的函数计算函数名称。模板处于失败状态时为空。

sandbox-tm-8f3a2c7b5e14d806

names

array

模板的名称列表,包含模板名及其全部别名。

string

模板名称或别名。

python-data-analysis

tags

array

模板的标签列表,每个标签指向一次具体构建。

E2BTemplateTag

模板标签与构建的对应关系。

containerConfiguration

ContainerConfiguration

模板的容器镜像配置。

teamPlan

string

团队套餐规格。取值:eco(经济型)、std(标准型)、pro(专业型)、ent(企业型)。

std