Download OpenAPI specification:
Query the immutable audit log for remote access events on the SmartTouch Cloud Platform.
Every remote access session open, close, and expiry is recorded as an audit entry. Entries include the user identity, device, protocol, source IP, timestamp, and a distributed trace ID for correlation with logs and traces.
Reading the audit log requires either the administrator role or the audit:read
permission granted by an Administrator.
Audit entries cannot be created, modified, or deleted through the API. The audit log is append-only and tamper-evident.
Entries are retained for 90 days by default. Administrators can configure longer retention in platform settings.
Returns audit log entries for remote access events in reverse chronological order (most recent first).
Use query parameters to narrow results by device, user, event type, or time range. All filter parameters are optional and combinable.
Rate limit: 60 requests per minute.
| device_id | string Example: device_id=sensor-001 Filter by device ID |
| user | string <email> Example: user=alice@example.com Filter by user email address |
| event | string Enum: "session.opened" "session.closed" "session.expired" Filter by event type |
| protocol | string Enum: "shell" "diagnostics" "file-transfer" Filter by session protocol |
| since | string <date-time> Example: since=2026-06-08T00:00:00Z Return entries with timestamps after this ISO 8601 value (inclusive) |
| until | string <date-time> Example: until=2026-06-09T00:00:00Z Return entries with timestamps before this ISO 8601 value (exclusive) |
| session_id | string Example: session_id=sess-9c4d2e Filter by session ID to retrieve all events for a single session |
| page | integer >= 1 Default: 1 |
| per_page | integer [ 1 .. 500 ] Default: 100 |
{- "status": 200,
- "data": [
- {
- "id": "audit-002",
- "event": "session.closed",
- "session_id": "sess-9c4d2e",
- "device_id": "sensor-001",
- "protocol": "diagnostics",
- "user": "alice@example.com",
- "source_ip": "10.0.1.42",
- "timestamp": "2026-06-08T09:18:44Z",
- "trace_id": "xyz789abc012"
}, - {
- "id": "audit-001",
- "event": "session.opened",
- "session_id": "sess-9c4d2e",
- "device_id": "sensor-001",
- "protocol": "diagnostics",
- "user": "alice@example.com",
- "source_ip": "10.0.1.42",
- "timestamp": "2026-06-08T09:05:00Z",
- "trace_id": "xyz789abc012"
}
], - "meta": {
- "page": 1,
- "per_page": 100,
- "total": 2
}
}Returns a single audit log entry by its ID.
| entryId required | string Example: audit-001 Unique audit log entry ID |
{- "status": 200,
- "data": {
- "id": "audit-001",
- "event": "session.opened",
- "session_id": "sess-9c4d2e",
- "device_id": "sensor-001",
- "protocol": "diagnostics",
- "user": "alice@example.com",
- "source_ip": "10.0.1.42",
- "timestamp": "2026-06-08T09:05:00Z",
- "trace_id": "xyz789abc012"
}
}