You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/ai-search/api/items/rest-api.mdx
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,15 +33,15 @@ The available operations are the same for both paths. For the namespace-scoped A
33
33
34
34
## Items
35
35
36
-
Upload, list, get, delete, and download items within an instance. For the full specification, refer to the [Items API reference](/api/resources/ai_search/subresources/instances/subresources/items/).
|[Upload](/api/resources/ai_search/subresources/instances/subresources/items/methods/upload/)|`POST`| Upload a document for indexing |
41
-
|[List](/api/resources/ai_search/subresources/instances/subresources/items/methods/list/)|`GET`| List all items in an instance |
42
-
|[Get](/api/resources/ai_search/subresources/instances/subresources/items/methods/get/)|`GET`| Get item info by ID |
43
-
|[Delete](/api/resources/ai_search/subresources/instances/subresources/items/methods/delete/)|`DELETE`| Delete an item |
44
-
|[Download](/api/resources/ai_search/subresources/instances/subresources/items/methods/download/)|`GET`| Download the original file |
36
+
Upload, list, get, delete, and download items within an instance. For the full specification, refer to the [Items API reference](/api/resources/ai_search/subresources/namespaces/subresources/instances/subresources/items/).
|[Upload](/api/resources/ai_search/subresources/namespaces/subresources/instances/subresources/items/methods/upload/)|`POST`| Upload a document for indexing |
41
+
|[List](/api/resources/ai_search/subresources/namespaces/subresources/instances/subresources/items/methods/list/)|`GET`| List all items in an instance |
42
+
|[Get](/api/resources/ai_search/subresources/namespaces/subresources/instances/subresources/items/methods/get/)|`GET`| Get item info by ID |
43
+
|[Delete](/api/resources/ai_search/subresources/namespaces/subresources/instances/subresources/items/methods/delete/)|`DELETE`| Delete an item |
44
+
|[Download](/api/resources/ai_search/subresources/namespaces/subresources/instances/subresources/items/methods/download/)|`GET`| Download the original file |
Copy file name to clipboardExpand all lines: src/content/docs/ai-search/get-started/api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ curl -X POST "https://api.cloudflare.com/client/v4/accounts/<ACCOUNT_ID>/ai-sear
79
79
80
80
## 3. Add content
81
81
82
-
If you did not create an instance that is connected to a data source, upload files using the [Items API](/api/resources/ai_search/subresources/items/methods/upload/). You can skip this step if you connected a website or R2 bucket.
82
+
If you did not create an instance that is connected to a data source, upload files using the [Items API](/api/resources/ai_search/subresources/namespaces/subresources/instances/subresources/items/methods/upload/). You can skip this step if you connected a website or R2 bucket.
83
83
84
84
```bash
85
85
curl -X POST "https://api.cloudflare.com/client/v4/accounts/<ACCOUNT_ID>/ai-search/instances/my-instance/items" \
Copy file name to clipboardExpand all lines: src/content/docs/ai-search/get-started/wrangler.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Create a new instance.
26
26
wrangler ai-search create my-instance
27
27
```
28
28
29
-
You can upload files to the instance using the [dashboard](/ai-search/get-started/dashboard/#upload-content) or the [REST API](/api/resources/ai_search/subresources/items/methods/upload/).
29
+
You can upload files to the instance using the [dashboard](/ai-search/get-started/dashboard/#upload-content) or the [REST API](/api/resources/ai_search/subresources/namespaces/subresources/instances/subresources/items/methods/upload/).
0 commit comments