Portfolio Migration
When onboarding onto Strise, you can migrate your existing portfolio using the importCompany mutation. This lets you add companies to monitoring and set risk levels and review validity dates in a single call.
For looking up companies, see the Companies example. For reviews in general, see the Reviews example.
Look up the company
Use companyIdentifierSearch or companySearch to find the Strise ID for each company in your portfolio:
query FindCompany {
companyIdentifierSearch(
where: { identifiers: ["918330100"], country: "NO" }
) {
edges {
node {
id
name
}
}
}
}The returned id is used in the migration call.
Migrate a company with all options
With the Strise ID, call importCompany to add the company to monitoring and set the risk level and review validity date from your existing system:
mutation MigrateCompany {
importCompany(where: {
company: "<company_id>"
riskLevel: HIGH
validUntil: "2027-01-01T00:00:00"
addToMonitoring: true
}) {
success
}
}All fields except company are optional. You can combine them
as needed for your migration scenario.
Add to monitoring only
If you just want to start monitoring a company without setting a risk level:
mutation MonitorOnly {
importCompany(where: {
company: "<company_id>"
addToMonitoring: true
}) {
success
}
}This is equivalent to calling companyAddToMonitoring.
Set risk level without monitoring
If you want to record a risk assessment without adding the company to monitoring:
mutation SetRiskOnly {
importCompany(where: {
company: "<company_id>"
riskLevel: MEDIUM
validUntil: "2027-06-01T00:00:00"
}) {
success
}
}This creates a review with the given risk level and validity date. If the company already has a review, only the risk level is updated — the existing review is preserved.
Override an existing risk level
If the company already has a review in Strise, calling
importCompany with a new riskLevel overrides the existing
risk level:
mutation OverrideRisk {
importCompany(where: {
company: "<company_id>"
riskLevel: LOW
}) {
success
}
}