mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-08 04:18:32 +02:00
Documentation for the Query Audit Logs API (#2232)
* Documentation for the Query Audit Logs API * Add missing empty request body * Review feedback
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
Query the audit log with time range and exact-match filters.
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
curl -X POST 'https://YOUR-CLUSTER-URL:6333/audit/logs' \
|
||||
-H 'api-key: QDRANT_API_KEY' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
"limit": 50,
|
||||
"time_from": "2026-03-26T00:00:00Z",
|
||||
"time_to": "2026-03-27T00:00:00Z",
|
||||
"filters": {
|
||||
"result": "denied",
|
||||
"collection": "my_collection"
|
||||
}
|
||||
}'
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
```bash
|
||||
curl -X POST 'https://YOUR-CLUSTER-URL:6333/audit/logs' \
|
||||
-H 'api-key: QDRANT_API_KEY' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{
|
||||
"limit": 50,
|
||||
"time_from": "2026-03-26T00:00:00Z",
|
||||
"time_to": "2026-03-27T00:00:00Z",
|
||||
"filters": {
|
||||
"result": "denied",
|
||||
"collection": "my_collection"
|
||||
}
|
||||
}'
|
||||
```
|
||||
+1
@@ -0,0 +1 @@
|
||||
Query the audit log via the REST API.
|
||||
@@ -0,0 +1,4 @@
|
||||
curl -X POST 'https://YOUR-CLUSTER-URL:6333/audit/logs' \
|
||||
-H 'api-key: QDRANT_API_KEY' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{}'
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
```bash
|
||||
curl -X POST 'https://YOUR-CLUSTER-URL:6333/audit/logs' \
|
||||
-H 'api-key: QDRANT_API_KEY' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{}'
|
||||
```
|
||||
Reference in New Issue
Block a user