Skip to content

Commit dbf25b6

Browse files
authored
Update assistants-reference-threads.md
Fixed invalid URLs
1 parent 95fb22b commit dbf25b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/ai-services/openai/assistants-reference-threads.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/threads?api-version=2024
6666
## Retrieve thread
6767

6868
```http
69-
GET https://YOUR_RESOURCE_NAME.openai.azure.com/openai/threads{thread_id}?api-version=2024-02-15-preview
69+
GET https://YOUR_RESOURCE_NAME.openai.azure.com/openai/threads/{thread_id}?api-version=2024-02-15-preview
7070
```
7171

7272
Retrieves a thread.
@@ -112,7 +112,7 @@ curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/threads/{thread_id}?api-
112112
## Modify thread
113113

114114
```http
115-
POST https://YOUR_RESOURCE_NAME.openai.azure.com/openai/threads{thread_id}?api-version=2024-02-15-preview
115+
POST https://YOUR_RESOURCE_NAME.openai.azure.com/openai/threads/{thread_id}?api-version=2024-02-15-preview
116116
```
117117

118118
Modifies a thread.
@@ -175,7 +175,7 @@ curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/threads/{thread_id}?api-
175175
## Delete thread
176176

177177
```http
178-
DELETE https://YOUR_RESOURCE_NAME.openai.azure.com/openai/threads{thread_id}?api-version=2024-02-15-preview
178+
DELETE https://YOUR_RESOURCE_NAME.openai.azure.com/openai/threads/{thread_id}?api-version=2024-02-15-preview
179179
```
180180

181181
Delete a thread
@@ -224,4 +224,4 @@ curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/threads/{thread_id}?api-
224224
| `id` | string | The identifier, which can be referenced in API endpoints.|
225225
| `object` | string | The object type, which is always thread. |
226226
| `created_at` | integer | The Unix timestamp (in seconds) for when the thread was created. |
227-
| `metadata` | map | Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. |
227+
| `metadata` | map | Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. |

0 commit comments

Comments
 (0)