Build the read-only per-source preview graph the FE drawer's Preview tab reads (decoded from the same JSONL the commit path uses)
GET
/portfolio/import-sources/{sourceId}/graphPath parameters
Query parameters
Responses
200
{
"session_id": "string",
"status": "string",
"summary": {
"row_count": 0,
"asset_count": 1,
"investor_count": 1,
"new_assets": 1,
"new_investors": 1,
"error_count": 0,
"warning_count": 0,
"date_range": {
"from": null,
"to": null
}
},
"tx_types": [
{
"key": "string",
"row_count": "string",
"color": "string",
"error_count": "string",
"sub_types": [
{
"key": "string",
"row_count": "string"
}
]
}
],
"assets": [
{
"id": "string",
"label": "string",
"exists_in_coreos": true,
"coreos_asset_id": 1,
"row_count": "string",
"error_count": "string",
"source_sessions": [
null
]
}
],
"investors": [
{
"id": "string",
"label": "string",
"exists_in_coreos": true,
"coreos_investor_id": 1,
"row_count": "string",
"error_count": "string",
"source_sessions": [
null
]
}
],
"rows": [
"string"
],
"sources": [
null
]
}404
Not found
422
Validation error
Examples
curl https://your-org-domain/kong/core/api/v2/portfolio/import-sources/{sourceId}/graph\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"