forked from phoenix/litellm-mirror
Merge pull request #4114 from msabramo/msabramo/assistants-doc-add-get-thread
`assistants.md`: Add "Get a Thread" example
This commit is contained in:
commit
cae2100011
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue