Merge pull request #4114 from msabramo/msabramo/assistants-doc-add-get-thread

`assistants.md`: Add "Get a Thread" example
This commit is contained in:
Ishaan Jaff 2024-06-10 20:05:15 -07:00 committed by GitHub
commit cae2100011
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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