Update API docs (openapi.json). (#1731)

This commit is contained in:
Andrew Nguonly
2024-09-16 15:49:35 -07:00
committed by GitHub
parent 4d0c12117b
commit 7934b67afa
@@ -1301,6 +1301,62 @@
}
}
},
"/threads/{thread_id}/runs/{run_id}/stream": {
"get": {
"tags": [
"runs/manage"
],
"summary": "Join Run Stream",
"description": "Join a run stream. This endpoint streams output in real-time from a run similar to the /threads/__THREAD_ID__/runs/stream endpoint. Only output produced after this endpoint is called will be streamed.",
"operationId": "stream_run_http_threads__thread_id__runs__run_id__join_get",
"parameters": [
{
"description": "The ID of the thread.",
"required": true,
"schema": {
"type": "string",
"format": "uuid",
"title": "Thread Id",
"description": "The ID of the thread."
},
"name": "thread_id",
"in": "path"
},
{
"description": "The ID of the run.",
"required": true,
"schema": {
"type": "string",
"format": "uuid",
"title": "Run Id",
"description": "The ID of the run."
},
"name": "run_id",
"in": "path"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/threads/{thread_id}/runs/{run_id}/cancel": {
"post": {
"tags": [