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: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,7 +163,7 @@ These endpoints proxy requests to external LLM providers.
163
163
#### RAG API Endpoints
164
164
165
165
##### Management Endpoints
166
-
These endpoints are used to manage documents in the RAG system. **They are protected and require an `X-API-Key` header matching the `RAG_MANAGEMENT_API_KEY` defined in your `.env` file.**
166
+
These endpoints are used to manage documents in the RAG system. **They are protected and require an `X-API-KEY` header matching the `RAG_MANAGEMENT_API_KEY` defined in your `.env` file.**
167
167
168
168
- **`POST /rag/manage/documents`**
169
169
* Uploads a Markdown document.
@@ -210,7 +210,7 @@ The default port `8080` is used in these examples.
210
210
211
211
1. **Upload a document:**
212
212
```bash
213
-
curl -X POST -H "X-API-Key: your_secure_api_key_here" \
213
+
curl -X POST -H "X-API-KEY: your_secure_api_key_here" \
214
214
-F "documentId=my_test_doc_01" \
215
215
-F "markdownFile=@/path/to/your/document.md" \
216
216
http://localhost:8080/api/v1/rag/manage/documents
@@ -237,13 +237,13 @@ The default port `8080` is used in these examples.
237
237
238
238
3. **Get a document's content:**
239
239
```bash
240
-
curl -X GET -H "X-API-Key: your_secure_api_key_here" \
240
+
curl -X GET -H "X-API-KEY: your_secure_api_key_here" \
0 commit comments