Skip to content

Commit

Permalink
Update API docs (openapi.json). (#1731)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnguonly authored Sep 16, 2024
1 parent 4d0c121 commit 7934b67
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions docs/docs/cloud/reference/api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit 7934b67

Please sign in to comment.