Αναφορά API / Audit
Audit
Τα endpoints της ομάδας Audit του Voiceland AI API, με παραμέτρους, σχήματα και παραδείγματα curl.
Τελευταία ενημέρωση:
Οι περιγραφές των endpoints και των πεδίων εμφανίζονται στα αγγλικά, όπως ακριβώς τις δημοσιεύει το API. Είναι επιλογή μας, ώστε να διαβάζετε εδώ ό,τι θα δείτε και στις αποκρίσεις.
GET /v1/audit#
List audit events. Your tenant-scoped audit trail, newest first.
Παράμετροι
| Όνομα | Θέση | Τύπος | Απαιτείται | Περιγραφή |
|---|---|---|---|---|
from |
query |
string | Window start (RFC3339). | |
to |
query |
string | Window end (RFC3339). | |
limit |
query |
integer | Max rows. | |
cursor |
query |
string | Pagination cursor. |
Αποκρίσεις
| Κωδικός | Περιγραφή |
|---|---|
200 |
Success. |
401 |
Missing or invalid API key. |
402 |
Your plan does not include audit log export (feature_not_entitled), or the account has no subscription (no_subscription). |
4XX |
Request error (validation, not-found, etc.). |
5XX |
Server or upstream error. |
Παράδειγμα αιτήματος
curl "https://api.voiceland.ai/v1/audit" \
-H "Authorization: Bearer VL_API_KEY"
Παράδειγμα απόκρισης
{
"items": []
}
GET /v1/audit/{id}#
Get an audit event. Returns one audit event by id.
Παράμετροι
| Όνομα | Θέση | Τύπος | Απαιτείται | Περιγραφή |
|---|---|---|---|---|
id |
path |
string | Ναι | Audit event id. |
Αποκρίσεις
| Κωδικός | Περιγραφή |
|---|---|
200 |
Success. |
401 |
Missing or invalid API key. |
402 |
Your plan does not include audit log export (feature_not_entitled), or the account has no subscription (no_subscription). |
4XX |
Request error (validation, not-found, etc.). |
5XX |
Server or upstream error. |
Παράδειγμα αιτήματος
curl "https://api.voiceland.ai/v1/audit/{id}" \
-H "Authorization: Bearer VL_API_KEY"
Σχήματα#
Error#
Error envelope returned for non-2xx responses.
| Πεδίο | Τύπος | Απαιτείται | Περιγραφή |
|---|---|---|---|
error |
object | Ναι |