列出模板运行

列出通过此 API 创建的此模板运行记录,最新的排在前面。

路径参数

template_idstring必需

模板的 ID,如 ElevenLabs 应用中或通过 GET /v1/flows/templates 所示。

请求头

xi-api-keystring可选

查询参数

cursorstring or null可选

分页游标:上一页响应中的 next_cursor 值。第一页请省略。

page_sizeinteger可选1-100默认为 30

每页返回的运行记录数量。

version_idstring or null可选

仅返回此模板版本 id 的运行记录。

响应

成功响应

runslist of objects

此页面上的运行记录,按最新优先排序。每项的结构与 GET /v1/flows/templates/{template_id}/runs/{run_id} 相同。

next_cursorstring or null

将其作为 cursor 传递以获取下一页。没有后续页面时为 null。

has_moreboolean只读

此页之后是否还有更多运行记录。

错误

422
Unprocessable Entity Error