AuditLog
GET
https://api.restorehub.net /api/v1/audit-log Account-scoped audit log (paginated, filterable)
Required scope: audit:read
Parameters
pageintegerquerylimitintegerqueryactionstringquerysearchstringqueryCode samples
cURL
curl -X GET "https://api.restorehub.net/api/v1/audit-log" \
-H "Authorization: Bearer $RESTOREHUB_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
{}400 Validation failed
Example
{
"error": "string",
"code": "string",
"details": {},
"requiredScope": "string",
"yourScopes": [
"string"
]
}Schema
errorstringHuman-readable error message
codestringMachine-readable error code (optional)
detailsobjectValidation issues (optional)
requiredScopestringRequired scope (on 403 only)
yourScopesstring[]Your key's scopes (on 403 only)
GET
https://api.restorehub.net /api/v1/servers/{id}/audit-log Server-scoped audit log
Required scope: audit:read
Parameters
idstringpathrequiredpageintegerquerylimitintegerqueryCode samples
cURL
curl -X GET "https://api.restorehub.net/api/v1/servers/{id}/audit-log" \
-H "Authorization: Bearer $RESTOREHUB_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
{}GET
https://api.restorehub.net /api/v1/jobs Active + recent pull and backup jobs across your servers
Required scope: audit:read
Code samples
cURL
curl -X GET "https://api.restorehub.net/api/v1/jobs" \
-H "Authorization: Bearer $RESTOREHUB_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
{}Updated