The admin application key
An admin application key is a tenant-wide key that can create, update, archive, and delete workspaces, and edit every workspace’s configuration through the API. In the Minerva dashboard it appears as the Admin (tenant-wide) key type.- Only an Owner or Admin can create, edit, rotate, deactivate, or delete an admin key. Developers see the Admin (tenant-wide) option disabled, with a hint to ask an owner or admin.
- The key acts only while the person who created it is still an owner or admin of the organization. If that person is demoted, disabled, or removed, every Workspace Management API request made with the key is refused with
403from the next request onward. Create a replacement key from an account that still holds the role. - The admin role can be set only when the key is created. You cannot change an existing workspace-scoped or tenant-scoped key into an admin key: that request returns
400with the message “Admin role can only be set when an application is created. Create a new admin application instead.” - The key belongs to one organization. It is never accepted for another organization’s
orgId. - Changes made with an admin key are recorded in the audit trail under the application’s name, not under a person.
- The key does not reach team management, SSO and SCIM settings, custom-list content, or searches. Those stay dashboard-only or on their existing APIs.
Create an admin key
- Sign in as an Owner or Admin and open Administration > Developers.
- On API keys, select Create application.
- Enter a name and an optional description, and choose Live mode. Admin keys can’t be created in Dev mode.
- Under Scope, choose Admin (tenant-wide). Minerva sets Mode to Live and shows “Admin keys are always Live.”
- Create the application and copy the key. Minerva shows the plaintext key only once.
Authentication and base URL
Send every request to the Admin API host:Authorization header. The legacy x-api-key header is also accepted.
/v2/organizations/{orgId}. orgId is your organization ID, and it must be the organization the key was created in.
Successful responses wrap the record in a data envelope that echoes the organization ID:
Endpoints
The Admin Actions - Endpoints reference in this tab, starting at List workspaces, lists every request and response field. The tables below summarize what each family does.Workspaces
POSTrequiresnameand accepts the same configuration sections asPATCH, such asmonitoringFeedFrequencies,monitoringRiskFrequencies,matchScoring,automaticDisposition, andriskInference.clientRiskRatingis accepted onPATCHonly.PATCHis sparse at the top level. A section you omit keeps its stored value. A section you send replaces that section, so send the completemonitoringFeedFrequenciesmap you want to keep.- Unknown fields are rejected with
400. - Archive a workspace with
PATCHand{"archived": true}before you delete it. The default workspace cannot be archived or deleted.
Profile groups
POSTrequiresname(up to 160 characters) andpriority.description(up to 4,000 characters) andmonitoringFeedFrequenciesare optional.priorityis an integer from0to1000000. Higher values win when a profile belongs to several groups, and each priority can be used by only one active group in a workspace. Reusing one returns409.- A group
PATCHthat carriesmonitoringFeedFrequenciesreplaces the group’s whole cadence map. Include every feed you want the group to keep. DELETEarchives the group rather than erasing it, so profiles that still reference it keep an auditable assignment.
Presets
configTypeismatch_scoringoralert_suppression. A preset body carriesconfigType,label, an optionaldescription, and theconfigobject.- A promotion body names
configType,targetWorkspaceId, and an optionalchangeSummary. Promotion also acceptscustomer_risk_rating, in which casepresetIdis a CRR scorecard ID.
Customer Risk Rating
Profile custom fields
Profile custom fields are defined once for the whole organization, so these paths carry no workspace.
The Profile Custom Fields page describes field types and how values are written on profiles.
Custom-list activation and entitlements
An admin key can read your custom-list entitlements and switch lists on or off in a workspace. Uploading and editing list content stays in the dashboard.
The activation body takes
enabled (default true). When you switch a list on, feedCategory and versionId are required so the list is bound to the feed and published version you intend.
Monitoring cadences
Monitoring cadences decide how often each data feed rescreens a profile. You set them per feed (Sanctions, PEP, News, Legal, Criminal, Internal) in a monitoringFeedFrequencies map, on a workspace and on each profile group. In the dashboard, News appears as Adverse Media and Internal as Internal Risk. A workspace can also set cadences per risk tier in monitoringRiskFrequencies (low, medium, high), which apply to profiles with that customer risk rating.
How a profile’s cadence is resolved
Minerva resolves each feed on its own.- Minerva orders the profile’s active groups by
priority, highest first. - It checks the groups in that order. The first group that sets a cadence for the feed, including
never, decides the feed for the groups. - A group set to
unsetpasses the decision to the next group down. - If every group is set to
unset, the risk tier decides. If the risk tier sets no cadence for the feed, the feed isnever. It does not fall back to the workspace cadence. - If the highest-priority group leaves the feed empty, the profile uses its risk-tier cadence, or the workspace cadence when the risk tier sets none. Once a group has passed the decision down with
unset, a lower group that leaves the feed empty is skipped too.
neverbeatsunset. A group set toneverdecides the feed, so a lower group cannot turn it back on. Only a risk tier that outranks the group can.- Empty and
unsetare different. Empty on the top group means “use the risk tier or workspace cadence”.unsetmeans “let a lower group or the risk tier decide, and otherwise do not monitor”.
unset is valid only on profile groups. Sending it in a workspace’s
monitoringFeedFrequencies or in monitoringRiskFrequencies returns 400.
Use never there to stop monitoring a feed.Example: combining two groups
Group A monitors Sanctions daily and leaves every other feedunset:
unset:
A profile only in group A, with no risk-tier cadence, is monitored for Sanctions daily and nothing else.
Errors
Most error responses carry the message as a plain string in the body. Custom-list activation can also return a JSON object witherror and message fields, as the 409 and 422 rows below describe. When the response’s Content-Type is application/json, parse the body as JSON.
Walkthrough: set up a new workspace
This walkthrough creates a workspace, adds the two groups from the example above, adjusts their priorities, and assigns a profile to both. Set these variables first:1. Create the workspace
The workspace monitors Sanctions and PEP weekly for profiles that are not in any group.cURL
201 with the new workspace in data.workspace. Keep data.workspace.id as WORKSPACE_ID.
2. Create two profile groups
cURL
cURL
201 with the group in data.profileGroup. Keep the two IDs as GROUP_A_ID and GROUP_B_ID.
3. Set priorities
Priority decides which group is checked first. Raise group B above group A with aPATCH that carries only priority, so the group’s cadences are left as they are:
cURL
unset for the other group’s feed. Priority matters when two groups both set a cadence for the same feed. These priorities are below every risk-tier priority, so a risk-tier cadence for the profile’s rating would still win. Use a priority above 1000 if a group must override risk tiers.
4. Assign a profile to both groups
Profile assignment is part of profile management, onhttps://api.gominerva.com/clm/v1, not the Admin API. Use a workspace-scoped application key created for the new workspace:
cURL
Related documentation
- API Keys for creating and managing application keys
- Profile Groups API for assigning and filtering profiles by group
- Workspaces Guide for workspace-scoped and tenant-wide settings
- Screening Frequencies Guide for the dashboard view of monitoring cadences