brackets-curlyRuns

API Reference

列出所有线程运行。

get

返回线程运行列表,代表线程内的单独执行或交互。

路径参数
threadIdstring必填
响应
get
/threads/{threadId}/runs
201成功

创建新的线程运行。

post

创建一个新的线程运行,在线程上下文中执行任务或交互。

路径参数
threadIdstring必填
请求体
assistant_idstring必填
streamboolean可选
metadataobject可选
响应
post
/threads/{threadId}/runs
201成功

Update a thread run’s details.

post

Updates the details of a thread run, modifying its status or context.

路径参数
threadIdstring必填
runIdstring必填
请求体
metadataobject可选
响应
chevron-right
200成功
application/json
post
/threads/{threadId}/runs/{runId}
200成功

Get details of a specific thread run.

get

Retrieves a single thread run by its ID, providing access to its execution details.

路径参数
threadIdstring必填
runIdstring必填
响应
chevron-right
200成功
application/json
get
/threads/{threadId}/runs/{runId}
200成功

最后更新于