Audit Logs
4 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1
List audit logs with filters and pagination#
/audit-logsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
entity_type | Query | string | Filter by entity type (e.g. task, business_process) |
entity_id | Query | string | Filter by entity UUID |
entity_ids | Query | string | Filter by any of these entity UUIDs (comma-separated, up to 50), e.g. a wiki page and its parent folders |
action | Query | string | Filter by action Werte: |
user_id | Query | string | Filter by user UUID |
start_date | Query | string | Filter from date (ISO 8601) |
end_date | Query | string | Filter to date (ISO 8601) |
limit | Query | string | Number of records to return (1–100, default 50) |
offset | Query | string | Number of records to skip (default 0) |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/audit-logs" \
-H "Authorization: Bearer $XISUITE_TOKEN"Create an audit log entry#
/audit-logsTokenRequest-Body
| Name | Typ | Beschreibung |
|---|---|---|
entity_typePflicht | string | Type of the entity being audited |
entity_id | string | UUID of the entity being audited |
actionPflicht | string | Action performed on the entity Werte: |
changes | object | Arbitrary JSONB diff or metadata about the change |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/audit-logs" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"entity_type":"task","action":"create"}'Get recent organization activity (flat array)#
/audit-logs/recentTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
limit | Query | string | Max records (1–100, default 20) |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/audit-logs/recent" \
-H "Authorization: Bearer $XISUITE_TOKEN"Get audit log statistics for the organization#
/audit-logs/statisticsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
start_date | Query | string | – |
end_date | Query | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/audit-logs/statistics" \
-H "Authorization: Bearer $XISUITE_TOKEN"