REACT_APP_ORGANIZATIONS_API_BASE_URL (default: https://api.makakoo.com/ma-metrics-wsp-ms/v1/api). Activity log and metrics endpoints are served by the Auth microservice at REACT_APP_AUTH_API_BASE_URL.
All requests require Api-Key and Authorization: Bearer <token> headers.
Create Sentinel Pass
The organization’s unique ID.
The project’s unique ID.
A human-readable name for the credential.
Optional description.
The entity type this credential is for. Defaults to
"project".The entity ID. Automatically set to
projectId.Array of permission strings granted to this credential.
Array of allowed HTTP referer patterns.
The credential type. Defaults to
"api_key".Array of OAuth scopes.
Optional ISO 8601 expiration datetime.
Optional array of string tags.
List Sentinel Passes
The organization’s unique ID.
The project’s unique ID.
Filter by active status.
Filter by credential type.
Filter by name substring.
Comma-separated list of tags to filter by.
Get Sentinel Pass
The organization’s unique ID.
The project’s unique ID.
The Sentinel Pass ID.
Update Sentinel Pass
The organization’s unique ID.
The project’s unique ID.
The Sentinel Pass ID.
Updated Sentinel Pass data. Accepts the same fields as Create.
Delete Sentinel Pass
The organization’s unique ID.
The project’s unique ID.
The Sentinel Pass ID.
Rotate Key
The organization’s unique ID.
The project’s unique ID.
The Sentinel Pass ID.
Revoke Sentinel Pass
The organization’s unique ID.
The project’s unique ID.
The Sentinel Pass ID.
Activate Sentinel Pass
The organization’s unique ID.
The project’s unique ID.
The Sentinel Pass ID.
Get Activity Logs
The agent user ID associated with the Sentinel Pass.
Page number. Defaults to
1.Items per page. Defaults to
25.ISO 8601 start date for filtering.
ISO 8601 end date for filtering.
Filter by activity type:
api_request, token_generation, or error.Filter by endpoint path.
Filter by success status.
Field to sort by.
Sort order:
asc or desc. Defaults to desc.Array of activity log entries.
Current page number.
Items per page.
Total number of log entries matching the filters.
Total number of pages.
Export Activity Logs
The agent user ID associated with the Sentinel Pass.
Export format:
json, csv, or jsonl. Defaults to json.ISO 8601 start date for filtering.
ISO 8601 end date for filtering.
Filter by activity type.
Filter by endpoint path.
Filter by success status.
Get Usage Metrics
The agent user ID associated with the Sentinel Pass.
ISO 8601 start date.
ISO 8601 end date.
Grouping interval:
hour, day, or week. Defaults to day.Array of time-series data points.
The start of the reported period.
The end of the reported period.
The grouping interval used.
Response Shape
All CRUD endpoints return Sentinel Passes in the unified asset format:The Sentinel Pass ID.
Always
"studio_tool".The credential name.
The credential description.
Always
"security".Whether the credential is currently active.
Array of string tags.
Array of permission strings.
Array of allowed HTTP referer patterns.
The credential type, e.g.,
api_key.Array of OAuth scope strings.
ISO 8601 expiration datetime, or
null for non-expiring credentials.ISO 8601 timestamp of the last key rotation.
Total number of times this credential has been used.
ISO 8601 creation timestamp.
ISO 8601 last-updated timestamp.
Caching and Rate Limits
- Metrics data is cached client-side for 30 seconds.
- Activity log results are cached per page and filter combination.
- The recommended auto-refresh interval is 30 seconds.
- Implement exponential backoff on failures.