From 717163780de6f81f749f0addf7a51b282e305633 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Mon, 10 Jun 2024 17:56:26 -0700 Subject: [PATCH] assistants.md: Add "Get a Thread" example --- docs/my-website/docs/assistants.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/my-website/docs/assistants.md b/docs/my-website/docs/assistants.md index 2380fe5c64c..4953ee38db7 100644 --- a/docs/my-website/docs/assistants.md +++ b/docs/my-website/docs/assistants.md @@ -162,6 +162,14 @@ curl http://0.0.0.0:4000/v1/threads \ -d '' ``` +**Get a Thread** + +```bash +curl http://0.0.0.0:4000/v1/threads/{thread_id} \ + -H "Content-Type: application/json" \ + -H "Authorization: Bearer sk-1234" +``` + **Add Messages to the Thread** ```bash