Logs
API authentication using Bearer tokens. Include your API token in the Authorization header:
Authorization: Bearer <your-api-token>
Tokens can be obtained from the Opsera platform's API token management interface.
Accepts id or name, or nested identifier object with id/name
MongoDB ObjectId
Resource name (not guaranteed to be unique)
Specific run count to retrieve logs for (optional)
5Page number for pagination (optional, default 1)
1Number of log entries per page (optional, default 100)
100Successfully retrieved task logs
Response status indicator
Bad Request - other validation error (e.g., invalid page/runCount)
Authentication failed
Access denied
Task not found
Unprocessable Entity - missing identifier or invalid formats
Internal server error
API authentication using Bearer tokens. Include your API token in the Authorization header:
Authorization: Bearer <your-api-token>
Tokens can be obtained from the Opsera platform's API token management interface.
Page number for pagination (starting from 1).
1Number of records per page. Maximum is 1000.
100Example: 50Start date for filtering logs (YYYY-MM-DD).
2023-11-01Start time for filtering logs (HH:mm in 24-hour format).
09:00Pattern: ^([01]?[0-9]|2[0-3]):[0-5][0-9]$End date for filtering logs (YYYY-MM-DD).
2023-11-05End time for filtering logs (HH:mm in 24-hour format).
17:00Pattern: ^([01]?[0-9]|2[0-3]):[0-5][0-9]$Filter logs for a specific user ID.
507f1f77bcf86cd799439011Filter logs by type of activity.
loginFilter logs by primary action.
createFilter logs by secondary action.
user_profileFilter logs by target entity ID.
60d5ec49f5a4c93d2e7d1b77Successfully retrieved user activity audit logs.
Total number of logs matching the query.
150Bad Request - Invalid input parameters.
Unauthorized - Authentication failed.
Unprocessable Entity - Invalid or missing data provided.
Internal Server Error - An unexpected error occurred.
Last updated

