AuditLog

Embed
Preview of the card
<a href="https://restorehub.net/docs/auditlog"><img src="https://restorehub.net/docs/_api/public/orgs/02205afa-581f-4b8b-b2a5-8aa1a06b0a65/spaces/3b58c1c8-7c23-44ef-9ff3-f4a5c899d9ac/pages/5717abd6-1085-45f3-9e00-1ebd8abc35ec/social-card.svg?v=3e7ae33eec8b" alt="AuditLog" width="600" height="315"></a>
GEThttps://api.restorehub.net/api/v1/audit-log

Account-scoped audit log (paginated, filterable)

Required scope: audit:read

Parameters

pageintegerquery
= 1
limitintegerquery
= 25
actionstringquery
searchstringquery

Code 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
errorstring
Human-readable error message
codestring
Machine-readable error code (optional)
detailsobject
Validation issues (optional)
requiredScopestring
Required scope (on 403 only)
yourScopesstring[]
Your key's scopes (on 403 only)
401 Unauthorized — missing or invalid API key

Same as 400 · GET /api/v1/audit-log

403 Forbidden — missing required scope

Same as 400 · GET /api/v1/audit-log

404 Not found

Same as 400 · GET /api/v1/audit-log

429 Rate limit exceeded

Same as 400 · GET /api/v1/audit-log

GEThttps://api.restorehub.net/api/v1/servers/{id}/audit-log

Server-scoped audit log

Required scope: audit:read

Parameters

idstringpathrequired
pageintegerquery
= 1
limitintegerquery
= 50

Code 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
{}
400 Validation failed

Same as 400 · GET /api/v1/audit-log

401 Unauthorized — missing or invalid API key

Same as 400 · GET /api/v1/audit-log

403 Forbidden — missing required scope

Same as 400 · GET /api/v1/audit-log

404 Not found

Same as 400 · GET /api/v1/audit-log

429 Rate limit exceeded

Same as 400 · GET /api/v1/audit-log

GEThttps://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
{}
400 Validation failed

Same as 400 · GET /api/v1/audit-log

401 Unauthorized — missing or invalid API key

Same as 400 · GET /api/v1/audit-log

403 Forbidden — missing required scope

Same as 400 · GET /api/v1/audit-log

404 Not found

Same as 400 · GET /api/v1/audit-log

429 Rate limit exceeded

Same as 400 · GET /api/v1/audit-log

Updated