Contents
On this page
Get Mirror - Plugixa Activity Log
GET /plugixa-activity-log/v1/mirrors/{id}
Read one mirror.
Needs settings access (see who can call what). Needs Plugixa Activity Log Pro, with the Mirrors module on under Plugixa Activity Log -> Monitors.
Request
GET https://your-site.example/wp-json/plugixa-activity-log/v1/mirrors/3
Path parameters
| Name | Type | Description |
|---|---|---|
id |
integer |
The mirror’s id |
Responses
200 OK. data is the mirror.
{
"success": true,
"data": {
"id": 3,
"name": "SIEM collector",
"type": "http",
"enabled": true,
"config": { "url": "https://siem.example.com/ingest", "token": "••••9f2c", "has_token": true },
"filters": { "min_severity": "", "groups": ["authentication", "users"] },
"created_by": 1,
"created_at": "2026-11-12 09:40:00",
"modified_at": "2026-11-12 09:40:00"
}
}
| Field | Type | Meaning |
|---|---|---|
data.type |
string |
syslog, http or file |
data.enabled |
boolean |
Whether new events are sent to it |
data.config |
object |
Depends on type: see Create Mirror |
data.config.token |
string |
http only: masked, four dots and the last four characters. Send it back unchanged to keep it |
data.config.has_token |
boolean |
http only: whether a token is stored |
data.filters |
object |
min_severity (empty for none) and groups (empty for all) |
data.modified_at |
string |
UTC datetime of the last change |
Unlike List Mirrors, a single mirror carries no waiting count. A file mirror’s config holds keep_days and its key.
Errors
| Status | Code | When |
|---|---|---|
404 |
plugixa_activity_log_not_found |
No mirror with that id. |
Plus the errors every endpoint can return.
Examples
curl -s "https://your-site.example/wp-json/plugixa-activity-log/v1/mirrors/3" \
-u "admin:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-site.example/wp-json/plugixa-activity-log/v1/mirrors/3');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_USERPWD => 'admin:' . getenv('WP_APP_PASSWORD'),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
const auth = Buffer.from(`admin:${process.env.WP_APP_PASSWORD}`).toString('base64');
const response = await fetch('https://your-site.example/wp-json/plugixa-activity-log/v1/mirrors/3', {
headers: {
'Authorization': `Basic ${auth}`,
},
});
const { data } = await response.json();
Quick Links
Share