{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-dataStudio/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"DataStudio API Endpoints"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"__idx":0,"id":"datastudio-api-endpoints"},"children":["DataStudio API Endpoints"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The DataStudio API provides a comprehensive set of endpoints to help you manage and optimise your business portfolios."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Data Studio Suite provides a set of endpoints to:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Authenticate"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Create, retrieve, update, and delete portfolios"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Add, import, retrieve, and delete records within a portfolio"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Run advanced services such as matching, deduplication, and enrichment"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Retrieve the status and results of asynchronous operations"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Below is a flow diagram guide on how to use these endpoints."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"__idx":1,"id":"flow-diagram-portfolio-management"},"children":["Flow Diagram: Portfolio Management"]},{"$$mdtype":"Tag","name":"Mermaid","attributes":{"data-language":"mermaid","diagramSource":"%%{ init: { \"theme\": \"default\" } }%%\nflowchart TD\n  A[Authenticate]\n  B[Create Portfolio]\n  C[Add/Import Records]\n  D[Retrieve Portfolio or Records]\n  J[Delete Records or Portfolio]\n\n  A --> B\n  B --> C\n  C --> D\n  D --> J\n","diagramHtml":"<div class=\"mermaid\" data-processed=\"true\"><svg aria-roledescription=\"flowchart-v2\" role=\"graphics-document document\" viewBox=\"-8 -8 245.046875 401\" style=\"max-width: 245.046875px;\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" id=\"mermaid-1757942520056\"><style>#mermaid-1757942520056{font-family:\"trebuchet ms\",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-1757942520056 .error-icon{fill:#552222;}#mermaid-1757942520056 .error-text{fill:#552222;stroke:#552222;}#mermaid-1757942520056 .edge-thickness-normal{stroke-width:2px;}#mermaid-1757942520056 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-1757942520056 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-1757942520056 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-1757942520056 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-1757942520056 .marker{fill:#333333;stroke:#333333;}#mermaid-1757942520056 .marker.cross{stroke:#333333;}#mermaid-1757942520056 svg{font-family:\"trebuchet ms\",verdana,arial,sans-serif;font-size:16px;}#mermaid-1757942520056 .label{font-family:\"trebuchet ms\",verdana,arial,sans-serif;color:#333;}#mermaid-1757942520056 .cluster-label text{fill:#333;}#mermaid-1757942520056 .cluster-label span,#mermaid-1757942520056 p{color:#333;}#mermaid-1757942520056 .label text,#mermaid-1757942520056 span,#mermaid-1757942520056 p{fill:#333;color:#333;}#mermaid-1757942520056 .node rect,#mermaid-1757942520056 .node circle,#mermaid-1757942520056 .node ellipse,#mermaid-1757942520056 .node polygon,#mermaid-1757942520056 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-1757942520056 .flowchart-label text{text-anchor:middle;}#mermaid-1757942520056 .node .label{text-align:center;}#mermaid-1757942520056 .node.clickable{cursor:pointer;}#mermaid-1757942520056 .arrowheadPath{fill:#333333;}#mermaid-1757942520056 .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-1757942520056 .flowchart-link{stroke:#333333;fill:none;}#mermaid-1757942520056 .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-1757942520056 .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-1757942520056 .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-1757942520056 .cluster text{fill:#333;}#mermaid-1757942520056 .cluster span,#mermaid-1757942520056 p{color:#333;}#mermaid-1757942520056 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"trebuchet ms\",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-1757942520056 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-1757942520056 :root{--mermaid-font-family:\"trebuchet ms\",verdana,arial,sans-serif;}</style><g><marker orient=\"auto\" markerHeight=\"12\" markerWidth=\"12\" markerUnits=\"userSpaceOnUse\" refY=\"5\" refX=\"10\" viewBox=\"0 0 10 10\" class=\"marker flowchart\" id=\"flowchart-pointEnd\"><path style=\"stroke-width: 1; stroke-dasharray: 1, 0;\" class=\"arrowMarkerPath\" d=\"M 0 0 L 10 5 L 0 10 z\"></path></marker><marker orient=\"auto\" markerHeight=\"12\" markerWidth=\"12\" markerUnits=\"userSpaceOnUse\" refY=\"5\" refX=\"0\" viewBox=\"0 0 10 10\" class=\"marker flowchart\" id=\"flowchart-pointStart\"><path style=\"stroke-width: 1; stroke-dasharray: 1, 0;\" class=\"arrowMarkerPath\" d=\"M 0 5 L 10 10 L 10 0 z\"></path></marker><marker orient=\"auto\" markerHeight=\"11\" markerWidth=\"11\" markerUnits=\"userSpaceOnUse\" refY=\"5\" refX=\"11\" viewBox=\"0 0 10 10\" class=\"marker flowchart\" id=\"flowchart-circleEnd\"><circle style=\"stroke-width: 1; stroke-dasharray: 1, 0;\" class=\"arrowMarkerPath\" r=\"5\" cy=\"5\" cx=\"5\"></circle></marker><marker orient=\"auto\" markerHeight=\"11\" markerWidth=\"11\" markerUnits=\"userSpaceOnUse\" refY=\"5\" refX=\"-1\" viewBox=\"0 0 10 10\" class=\"marker flowchart\" id=\"flowchart-circleStart\"><circle style=\"stroke-width: 1; stroke-dasharray: 1, 0;\" class=\"arrowMarkerPath\" r=\"5\" cy=\"5\" cx=\"5\"></circle></marker><marker orient=\"auto\" markerHeight=\"11\" markerWidth=\"11\" markerUnits=\"userSpaceOnUse\" refY=\"5.2\" refX=\"12\" viewBox=\"0 0 11 11\" class=\"marker cross flowchart\" id=\"flowchart-crossEnd\"><path style=\"stroke-width: 2; stroke-dasharray: 1, 0;\" class=\"arrowMarkerPath\" d=\"M 1,1 l 9,9 M 10,1 l -9,9\"></path></marker><marker orient=\"auto\" markerHeight=\"11\" markerWidth=\"11\" markerUnits=\"userSpaceOnUse\" refY=\"5.2\" refX=\"-1\" viewBox=\"0 0 11 11\" class=\"marker cross flowchart\" id=\"flowchart-crossStart\"><path style=\"stroke-width: 2; stroke-dasharray: 1, 0;\" class=\"arrowMarkerPath\" d=\"M 1,1 l 9,9 M 10,1 l -9,9\"></path></marker><g class=\"root\"><g class=\"clusters\"></g><g class=\"edgePaths\"><path marker-end=\"url(#flowchart-pointEnd)\" style=\"fill:none;\" class=\"edge-thickness-normal edge-pattern-solid flowchart-link LS-A LE-B\" id=\"L-A-B-0\" d=\"M114.5234375,37L114.5234375,41.166666666666664C114.5234375,45.333333333333336,114.5234375,53.666666666666664,114.5234375,62C114.5234375,70.33333333333333,114.5234375,78.66666666666667,114.5234375,82.83333333333333L114.5234375,87\"></path><path marker-end=\"url(#flowchart-pointEnd)\" style=\"fill:none;\" class=\"edge-thickness-normal edge-pattern-solid flowchart-link LS-B LE-C\" id=\"L-B-C-0\" d=\"M114.5234375,124L114.5234375,128.16666666666666C114.5234375,132.33333333333334,114.5234375,140.66666666666666,114.5234375,149C114.5234375,157.33333333333334,114.5234375,165.66666666666666,114.5234375,169.83333333333334L114.5234375,174\"></path><path marker-end=\"url(#flowchart-pointEnd)\" style=\"fill:none;\" class=\"edge-thickness-normal edge-pattern-solid flowchart-link LS-C LE-D\" id=\"L-C-D-0\" d=\"M114.5234375,211L114.5234375,215.16666666666666C114.5234375,219.33333333333334,114.5234375,227.66666666666666,114.5234375,236C114.5234375,244.33333333333334,114.5234375,252.66666666666666,114.5234375,256.8333333333333L114.5234375,261\"></path><path marker-end=\"url(#flowchart-pointEnd)\" style=\"fill:none;\" class=\"edge-thickness-normal edge-pattern-solid flowchart-link LS-D LE-J\" id=\"L-D-J-0\" d=\"M114.5234375,298L114.5234375,302.1666666666667C114.5234375,306.3333333333333,114.5234375,314.6666666666667,114.5234375,323C114.5234375,331.3333333333333,114.5234375,339.6666666666667,114.5234375,343.8333333333333L114.5234375,348\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\"><g transform=\"translate(0, 0)\" class=\"label\"><foreignObject height=\"0\" width=\"0\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g transform=\"translate(0, 0)\" class=\"label\"><foreignObject height=\"0\" width=\"0\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g transform=\"translate(0, 0)\" class=\"label\"><foreignObject height=\"0\" width=\"0\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g transform=\"translate(0, 0)\" class=\"label\"><foreignObject height=\"0\" width=\"0\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g></g><g class=\"nodes\"><g transform=\"translate(114.5234375, 18.5)\" id=\"flowchart-A-26\" class=\"node default default flowchart-label\"><rect height=\"37\" width=\"110.234375\" y=\"-18.5\" x=\"-55.1171875\" ry=\"0\" rx=\"0\" style=\"\" class=\"basic label-container\"></rect><g transform=\"translate(-47.6171875, -11)\" style=\"\" class=\"label\"><rect></rect><foreignObject height=\"22\" width=\"95.234375\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"nodeLabel\">Authenticate</span></div></foreignObject></g></g><g transform=\"translate(114.5234375, 105.5)\" id=\"flowchart-B-27\" class=\"node default default flowchart-label\"><rect height=\"37\" width=\"132.546875\" y=\"-18.5\" x=\"-66.2734375\" ry=\"0\" rx=\"0\" style=\"\" class=\"basic label-container\"></rect><g transform=\"translate(-58.7734375, -11)\" style=\"\" class=\"label\"><rect></rect><foreignObject height=\"22\" width=\"117.546875\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"nodeLabel\">Create Portfolio</span></div></foreignObject></g></g><g transform=\"translate(114.5234375, 192.5)\" id=\"flowchart-C-28\" class=\"node default default flowchart-label\"><rect height=\"37\" width=\"165.765625\" y=\"-18.5\" x=\"-82.8828125\" ry=\"0\" rx=\"0\" style=\"\" class=\"basic label-container\"></rect><g transform=\"translate(-75.3828125, -11)\" style=\"\" class=\"label\"><rect></rect><foreignObject height=\"22\" width=\"150.765625\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"nodeLabel\">Add/Import Records</span></div></foreignObject></g></g><g transform=\"translate(114.5234375, 279.5)\" id=\"flowchart-D-29\" class=\"node default default flowchart-label\"><rect height=\"37\" width=\"229.046875\" y=\"-18.5\" x=\"-114.5234375\" ry=\"0\" rx=\"0\" style=\"\" class=\"basic label-container\"></rect><g transform=\"translate(-107.0234375, -11)\" style=\"\" class=\"label\"><rect></rect><foreignObject height=\"22\" width=\"214.046875\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"nodeLabel\">Retrieve Portfolio or Records</span></div></foreignObject></g></g><g transform=\"translate(114.5234375, 366.5)\" id=\"flowchart-J-30\" class=\"node default default flowchart-label\"><rect height=\"37\" width=\"216.25\" y=\"-18.5\" x=\"-108.125\" ry=\"0\" rx=\"0\" style=\"\" class=\"basic label-container\"></rect><g transform=\"translate(-100.625, -11)\" style=\"\" class=\"label\"><rect></rect><foreignObject height=\"22\" width=\"201.25\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"nodeLabel\">Delete Records or Portfolio</span></div></foreignObject></g></g></g></g></g></svg></div>"},"children":["%%{ init: { \"theme\": \"default\" } }%%\nflowchart TD\n  A[Authenticate]\n  B[Create Portfolio]\n  C[Add/Import Records]\n  D[Retrieve Portfolio or Records]\n  J[Delete Records or Portfolio]\n\n  A --> B\n  B --> C\n  C --> D\n  D --> J\n"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Diagram summary (accessibility): Authenticate, create a portfolio, add or import records, retrieve portfolio or record data, and then delete records or the portfolio when required."]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"__idx":2,"id":"flow-diagram-portfolio-optimisation"},"children":["Flow Diagram: Portfolio Optimisation"]},{"$$mdtype":"Tag","name":"Mermaid","attributes":{"data-language":"mermaid","diagramSource":"%%{ init: { \"theme\": \"default\" } }%%\nflowchart TD\n  D[Retrieve Portfolio or Records]\n  E{Optimise Portfolio?}\n  F[Run Matching Service]\n  G[Run Deduplication Service]\n  H[Run Enrichment Service]\n  I[Retrieve Job Status/Results]\n\n  D --> E\n  E -- Yes --> F\n  F --> G\n  F --> H\n  G --> I\n  H --> I\n  I --> D\n","diagramHtml":"<div class=\"mermaid\" data-processed=\"true\"><svg aria-roledescription=\"flowchart-v2\" role=\"graphics-document document\" viewBox=\"-8 -8 503.1640625 580.703125\" style=\"max-width: 503.1640625px;\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" id=\"mermaid-1758101320708\"><style>#mermaid-1758101320708{font-family:\"trebuchet ms\",verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-1758101320708 .error-icon{fill:#552222;}#mermaid-1758101320708 .error-text{fill:#552222;stroke:#552222;}#mermaid-1758101320708 .edge-thickness-normal{stroke-width:2px;}#mermaid-1758101320708 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-1758101320708 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-1758101320708 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-1758101320708 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-1758101320708 .marker{fill:#333333;stroke:#333333;}#mermaid-1758101320708 .marker.cross{stroke:#333333;}#mermaid-1758101320708 svg{font-family:\"trebuchet ms\",verdana,arial,sans-serif;font-size:16px;}#mermaid-1758101320708 .label{font-family:\"trebuchet ms\",verdana,arial,sans-serif;color:#333;}#mermaid-1758101320708 .cluster-label text{fill:#333;}#mermaid-1758101320708 .cluster-label span,#mermaid-1758101320708 p{color:#333;}#mermaid-1758101320708 .label text,#mermaid-1758101320708 span,#mermaid-1758101320708 p{fill:#333;color:#333;}#mermaid-1758101320708 .node rect,#mermaid-1758101320708 .node circle,#mermaid-1758101320708 .node ellipse,#mermaid-1758101320708 .node polygon,#mermaid-1758101320708 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-1758101320708 .flowchart-label text{text-anchor:middle;}#mermaid-1758101320708 .node .label{text-align:center;}#mermaid-1758101320708 .node.clickable{cursor:pointer;}#mermaid-1758101320708 .arrowheadPath{fill:#333333;}#mermaid-1758101320708 .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-1758101320708 .flowchart-link{stroke:#333333;fill:none;}#mermaid-1758101320708 .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-1758101320708 .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-1758101320708 .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-1758101320708 .cluster text{fill:#333;}#mermaid-1758101320708 .cluster span,#mermaid-1758101320708 p{color:#333;}#mermaid-1758101320708 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"trebuchet ms\",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-1758101320708 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-1758101320708 :root{--mermaid-font-family:\"trebuchet ms\",verdana,arial,sans-serif;}</style><g><marker orient=\"auto\" markerHeight=\"12\" markerWidth=\"12\" markerUnits=\"userSpaceOnUse\" refY=\"5\" refX=\"10\" viewBox=\"0 0 10 10\" class=\"marker flowchart\" id=\"flowchart-pointEnd\"><path style=\"stroke-width: 1; stroke-dasharray: 1, 0;\" class=\"arrowMarkerPath\" d=\"M 0 0 L 10 5 L 0 10 z\"></path></marker><marker orient=\"auto\" markerHeight=\"12\" markerWidth=\"12\" markerUnits=\"userSpaceOnUse\" refY=\"5\" refX=\"0\" viewBox=\"0 0 10 10\" class=\"marker flowchart\" id=\"flowchart-pointStart\"><path style=\"stroke-width: 1; stroke-dasharray: 1, 0;\" class=\"arrowMarkerPath\" d=\"M 0 5 L 10 10 L 10 0 z\"></path></marker><marker orient=\"auto\" markerHeight=\"11\" markerWidth=\"11\" markerUnits=\"userSpaceOnUse\" refY=\"5\" refX=\"11\" viewBox=\"0 0 10 10\" class=\"marker flowchart\" id=\"flowchart-circleEnd\"><circle style=\"stroke-width: 1; stroke-dasharray: 1, 0;\" class=\"arrowMarkerPath\" r=\"5\" cy=\"5\" cx=\"5\"></circle></marker><marker orient=\"auto\" markerHeight=\"11\" markerWidth=\"11\" markerUnits=\"userSpaceOnUse\" refY=\"5\" refX=\"-1\" viewBox=\"0 0 10 10\" class=\"marker flowchart\" id=\"flowchart-circleStart\"><circle style=\"stroke-width: 1; stroke-dasharray: 1, 0;\" class=\"arrowMarkerPath\" r=\"5\" cy=\"5\" cx=\"5\"></circle></marker><marker orient=\"auto\" markerHeight=\"11\" markerWidth=\"11\" markerUnits=\"userSpaceOnUse\" refY=\"5.2\" refX=\"12\" viewBox=\"0 0 11 11\" class=\"marker cross flowchart\" id=\"flowchart-crossEnd\"><path style=\"stroke-width: 2; stroke-dasharray: 1, 0;\" class=\"arrowMarkerPath\" d=\"M 1,1 l 9,9 M 10,1 l -9,9\"></path></marker><marker orient=\"auto\" markerHeight=\"11\" markerWidth=\"11\" markerUnits=\"userSpaceOnUse\" refY=\"5.2\" refX=\"-1\" viewBox=\"0 0 11 11\" class=\"marker cross flowchart\" id=\"flowchart-crossStart\"><path style=\"stroke-width: 2; stroke-dasharray: 1, 0;\" class=\"arrowMarkerPath\" d=\"M 1,1 l 9,9 M 10,1 l -9,9\"></path></marker><g class=\"root\"><g class=\"clusters\"></g><g class=\"edgePaths\"><path marker-end=\"url(#flowchart-pointEnd)\" style=\"fill:none;\" class=\"edge-thickness-normal edge-pattern-solid flowchart-link LS-D LE-E\" id=\"L-D-E-0\" d=\"M268.1922144396552,37L261.8535380747126,41.166666666666664C255.51486170977012,45.333333333333336,242.83750897988503,53.666666666666664,236.58216594827584,62.083333333333336C230.32682291666666,70.5,230.49348958333334,79,230.57682291666666,83.25L230.66015625,87.5\"></path><path marker-end=\"url(#flowchart-pointEnd)\" style=\"fill:none;\" class=\"edge-thickness-normal edge-pattern-solid flowchart-link LS-E LE-F\" id=\"L-E-F-0\" d=\"M230.66015625,282.203125L230.57682291666666,288.1197916666667C230.49348958333334,294.0364583333333,230.32682291666666,305.8697916666667,230.24348958333334,317.7864583333333C230.16015625,329.703125,230.16015625,341.703125,230.16015625,347.703125L230.16015625,353.703125\"></path><path marker-end=\"url(#flowchart-pointEnd)\" style=\"fill:none;\" class=\"edge-thickness-normal edge-pattern-solid flowchart-link LS-F LE-G\" id=\"L-F-G-0\" d=\"M176.84473778735634,390.703125L164.83676065613028,394.8697916666667C152.82878352490422,399.0364583333333,128.8128292624521,407.3697916666667,116.80485213122604,415.703125C104.796875,424.0364583333333,104.796875,432.3697916666667,104.796875,436.5364583333333L104.796875,440.703125\"></path><path marker-end=\"url(#flowchart-pointEnd)\" style=\"fill:none;\" class=\"edge-thickness-normal edge-pattern-solid flowchart-link LS-F LE-H\" id=\"L-F-H-0\" d=\"M283.47557471264366,390.703125L295.48355184386975,394.8697916666667C307.4915289750958,399.0364583333333,331.5074832375479,407.3697916666667,343.515460368774,415.703125C355.5234375,424.0364583333333,355.5234375,432.3697916666667,355.5234375,436.5364583333333L355.5234375,440.703125\"></path><path marker-end=\"url(#flowchart-pointEnd)\" style=\"fill:none;\" class=\"edge-thickness-normal edge-pattern-solid flowchart-link LS-G LE-I\" id=\"L-G-I-0\" d=\"M104.796875,477.703125L104.796875,481.8697916666667C104.796875,486.0364583333333,104.796875,494.3697916666667,128.8128292624521,502.703125C152.82878352490422,511.0364583333333,200.86069204980845,519.3697916666666,224.87664631226053,523.5364583333334L248.89260057471265,527.703125\"></path><path marker-end=\"url(#flowchart-pointEnd)\" style=\"fill:none;\" class=\"edge-thickness-normal edge-pattern-solid flowchart-link LS-H LE-I\" id=\"L-H-I-0\" d=\"M355.5234375,477.703125L355.5234375,481.8697916666667C355.5234375,486.0364583333333,355.5234375,494.3697916666667,355.5234375,502.703125C355.5234375,511.0364583333333,355.5234375,519.3697916666666,355.5234375,523.5364583333334L355.5234375,527.703125\"></path><path marker-end=\"url(#flowchart-pointEnd)\" style=\"fill:none;\" class=\"edge-thickness-normal edge-pattern-solid flowchart-link LS-I LE-D\" id=\"L-I-D-0\" d=\"M411.5085308908046,527.703125L424.1177861590038,523.5364583333334C436.7270414272031,519.3697916666666,461.94555196360153,511.0364583333333,474.5548072318008,499.6197916666667C487.1640625,488.203125,487.1640625,473.703125,487.1640625,459.203125C487.1640625,444.703125,487.1640625,430.203125,487.1640625,415.703125C487.1640625,401.203125,487.1640625,386.703125,487.1640625,370.3697916666667C487.1640625,354.0364583333333,487.1640625,335.8697916666667,487.1640625,304.5611979166667C487.1640625,273.2526041666667,487.1640625,228.80208333333334,487.1640625,186.18489583333334C487.1640625,143.56770833333334,487.1640625,102.78385416666667,468.8855064655172,78.22526041666667C450.6069504310345,53.666666666666664,414.049838362069,45.333333333333336,395.7712823275862,41.166666666666664L377.49272629310343,37\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\"><g transform=\"translate(0, 0)\" class=\"label\"><foreignObject height=\"0\" width=\"0\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g transform=\"translate(230.16015625, 317.703125)\" class=\"edgeLabel\"><g transform=\"translate(-12.78125, -11)\" class=\"label\"><foreignObject height=\"22\" width=\"25.5625\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"edgeLabel\">Yes</span></div></foreignObject></g></g><g class=\"edgeLabel\"><g transform=\"translate(0, 0)\" class=\"label\"><foreignObject height=\"0\" width=\"0\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g transform=\"translate(0, 0)\" class=\"label\"><foreignObject height=\"0\" width=\"0\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g transform=\"translate(0, 0)\" class=\"label\"><foreignObject height=\"0\" width=\"0\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g transform=\"translate(0, 0)\" class=\"label\"><foreignObject height=\"0\" width=\"0\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g><g class=\"edgeLabel\"><g transform=\"translate(0, 0)\" class=\"label\"><foreignObject height=\"0\" width=\"0\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"edgeLabel\"></span></div></foreignObject></g></g></g><g class=\"nodes\"><g transform=\"translate(296.3359375, 18.5)\" id=\"flowchart-D-40\" class=\"node default default flowchart-label\"><rect height=\"37\" width=\"229.046875\" y=\"-18.5\" x=\"-114.5234375\" ry=\"0\" rx=\"0\" style=\"\" class=\"basic label-container\"></rect><g transform=\"translate(-107.0234375, -11)\" style=\"\" class=\"label\"><rect></rect><foreignObject height=\"22\" width=\"214.046875\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"nodeLabel\">Retrieve Portfolio or Records</span></div></foreignObject></g></g><g transform=\"translate(230.16015625, 184.3515625)\" id=\"flowchart-E-41\" class=\"node default default flowchart-label\"><polygon style=\"\" transform=\"translate(-97.3515625,97.3515625)\" class=\"label-container\" points=\"97.3515625,0 194.703125,-97.3515625 97.3515625,-194.703125 0,-97.3515625\"></polygon><g transform=\"translate(-71.3515625, -11)\" style=\"\" class=\"label\"><rect></rect><foreignObject height=\"22\" width=\"142.703125\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"nodeLabel\">Optimise Portfolio?</span></div></foreignObject></g></g><g transform=\"translate(230.16015625, 372.203125)\" id=\"flowchart-F-42\" class=\"node default default flowchart-label\"><rect height=\"37\" width=\"174.796875\" y=\"-18.5\" x=\"-87.3984375\" ry=\"0\" rx=\"0\" style=\"\" class=\"basic label-container\"></rect><g transform=\"translate(-79.8984375, -11)\" style=\"\" class=\"label\"><rect></rect><foreignObject height=\"22\" width=\"159.796875\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"nodeLabel\">Run Matching Service</span></div></foreignObject></g></g><g transform=\"translate(104.796875, 459.203125)\" id=\"flowchart-G-43\" class=\"node default default flowchart-label\"><rect height=\"37\" width=\"209.59375\" y=\"-18.5\" x=\"-104.796875\" ry=\"0\" rx=\"0\" style=\"\" class=\"basic label-container\"></rect><g transform=\"translate(-97.296875, -11)\" style=\"\" class=\"label\"><rect></rect><foreignObject height=\"22\" width=\"194.59375\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"nodeLabel\">Run Deduplication Service</span></div></foreignObject></g></g><g transform=\"translate(355.5234375, 459.203125)\" id=\"flowchart-H-44\" class=\"node default default flowchart-label\"><rect height=\"37\" width=\"191.859375\" y=\"-18.5\" x=\"-95.9296875\" ry=\"0\" rx=\"0\" style=\"\" class=\"basic label-container\"></rect><g transform=\"translate(-88.4296875, -11)\" style=\"\" class=\"label\"><rect></rect><foreignObject height=\"22\" width=\"176.859375\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"nodeLabel\">Run Enrichment Service</span></div></foreignObject></g></g><g transform=\"translate(355.5234375, 546.203125)\" id=\"flowchart-I-45\" class=\"node default default flowchart-label\"><rect height=\"37\" width=\"214.171875\" y=\"-18.5\" x=\"-107.0859375\" ry=\"0\" rx=\"0\" style=\"\" class=\"basic label-container\"></rect><g transform=\"translate(-99.5859375, -11)\" style=\"\" class=\"label\"><rect></rect><foreignObject height=\"22\" width=\"199.171875\"><div style=\"display: inline-block; white-space: nowrap;\" xmlns=\"http://www.w3.org/1999/xhtml\"><span class=\"nodeLabel\">Retrieve Job Status/Results</span></div></foreignObject></g></g></g></g></g></svg></div>"},"children":["%%{ init: { \"theme\": \"default\" } }%%\nflowchart TD\n  D[Retrieve Portfolio or Records]\n  E{Optimise Portfolio?}\n  F[Run Matching Service]\n  G[Run Deduplication Service]\n  H[Run Enrichment Service]\n  I[Retrieve Job Status/Results]\n\n  D --> E\n  E -- Yes --> F\n  F --> G\n  F --> H\n  G --> I\n  H --> I\n  I --> D\n"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Diagram summary (accessibility): From portfolio data retrieval, decide whether to optimize; if yes, run matching, then deduplication and/or enrichment, retrieve job status/results, and loop back to portfolio retrieval."]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"__idx":3,"id":"1.-authenticate"},"children":["1. Authenticate"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before using any of the endpoints, you must authenticate. This ensures you have the necessary permissions to access the data."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"__idx":4,"id":"example-request"},"children":["Example Request"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"POST /v1/authenticate\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["NOTE"]},": All subsequent requests require a bearer token in the Authorization header."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"__idx":5,"id":"2.-portfolio-management"},"children":["2. Portfolio Management"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After authentication, you can:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Create a new portfolio"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Add or import records"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Retrieve or update portfolio details"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Portfolios are the core structure for organizing your business records."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"__idx":6,"id":"example-requests"},"children":["Example Requests"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"Create a Portfolio\nPOST /v1/datastudio/portfolios\n\nReturn Portfolio by Id \nGET /v1/datastudio/portfolios/{portfolioId}\n\nCreate Records in a Portfolio\nPOST /v1/datastudio/portfolios/{portfolioId}/records\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API Example Requests:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://doc.creditsafe.com/datastudio/datastudio/portfolio/createportfolio"},"children":["Create a portfolio"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://doc.creditsafe.com/datastudio/datastudio/portfolio/getportfolio"},"children":["Retrieve portfolio by portfolio Id"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://doc.creditsafe.com/datastudio/datastudio/portfolio-records/createrecords"},"children":["Create records"]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"__idx":7,"id":"️-additional-notes-on-record-management"},"children":["⚙️ Additional Notes on Record Management"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"__idx":8,"id":"record-addition-limits"},"children":["Record Addition Limits"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When adding records directly to a portfolio:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["You can add ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["up to 300 records per request"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://doc.creditsafe.com/datastudio/datastudio/portfolio-records/createrecords"},"children":["Create Records Endpoint Documentation"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"__idx":9,"id":"importing-records-via-csv"},"children":["Importing Records via CSV"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To bulk upload records:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Maximum file size: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["50 MB"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Supported formats: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["csv"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["gzip"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tar"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["gztar"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The first row must contain ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["headers"]}," that match the expected field names."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can find the full list of supported CSV headers and formatting guidance in the official documentation:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://doc.creditsafe.com/datastudio/datastudio/portfolio-records-import/importrecords"},"children":["Import Records Endpoint Documentation"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"__idx":10,"id":"3.-portfolio-optimisation"},"children":["3. Portfolio Optimisation"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once your portfolio is populated, you can use optimization endpoints to improve data quality and gain insights:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Matching:"]}," Link your records to Creditsafe’s unique company identifiers."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Deduplication:"]}," Identify and resolve duplicate records."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enrichment:"]}," Enhance your records with additional company data."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each optimization service is asynchronous; you start a job and then poll for its status and results."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"__idx":11,"id":"4.-matching-deduplication-and-enrichment"},"children":["4. Matching, Deduplication, and Enrichment"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If this is the first time your portfolio and its records are being processed, it is recommended to follow the steps in this order: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Matching → Deduplication → Enrichment"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"__idx":12,"id":"matching"},"children":["Matching"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Matching should be performed first. For best results, it is advised to match against the Creditsafe Safe Number."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start the matching process:"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Initiate matching using the relevant endpoint for your portfolio."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Check matching status:"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Use the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["executionId"]}," provided in the initial response to check the status of the matching process."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For more details, refer to the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://doc.creditsafe.com/datastudio/datastudio/matching"},"children":["matching documentation"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"__idx":13,"id":"deduplication"},"children":["Deduplication"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After matching, you can run deduplication to sanitise your data before enrichment. In the request body, you can specify how you want to identify duplicates."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start the deduplication process:"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /{apiVersion}/datastudio/portfolios/{portfolioId}/duplicates/identify"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"This will begin the process of finding duplicates in your portfolio."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Check deduplication status:"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Use the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["executionId"]}," returned from the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST"]}," request to check the status:",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /{apiVersion}/datastudio/portfolios/{portfolioId}/duplicates/{executionId}"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"This endpoint will provide a link to a file containing all identified duplicates."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Remove duplicates:"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Once duplicates are identified, run the removal process by passing the portfolio ID to the appropriate endpoint."]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For more information on deduplication, see the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://doc.creditsafe.com/datastudio/datastudio/deduplication"},"children":["deduplication documentation"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"__idx":14,"id":"enrichment"},"children":["Enrichment"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once deduplication is complete, you can use the enrichment process to enhance your records with additional data."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Start enrichment:"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Pass the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["portfolioId"]}," in the path, set the enrichment type to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GLOBAL_DATA_ENRICHMENT"]},", and provide a request body specifying the fields to enrich.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Details on the request body and available fields can be found in the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://doc.creditsafe.com/datastudio/datastudio/enrichment/startenrichment"},"children":["enrichment documentation"]},"."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Check enrichment status and retrieve results:"]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"After starting enrichment, you can check the status and retrieve the resulting file via a link provided in the response."]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"__idx":15,"id":"5.-retrieve-job-status-and-results"},"children":["5. Retrieve Job Status and Results"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For asynchronous operations (matching, deduplication, enrichment), use the provided ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["executionId"]}," to check job status and retrieve results."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"__idx":16,"id":"example-request-1"},"children":["Example Request"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"GET /v1/datastudio/portfolios/{portfolioId}/enrich/{executionId}\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"__idx":17,"id":"6.-delete-records-or-portfolio"},"children":["6. Delete Records or Portfolio"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can remove individual records or delete entire portfolios as needed to keep your data organized and up-to-date."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delete a portfolio:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"DELETE /{apiVersion}/datastudio/portfolios/{portfolioId}\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delete records from a portfolio:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"POST /{apiVersion}/datastudio/portfolios/{portfolioId}/records/delete\n","lang":"http"},"children":[]}]},"headings":[{"value":"DataStudio API Endpoints","id":"datastudio-api-endpoints","depth":1},{"value":"Flow Diagram: Portfolio Management","id":"flow-diagram-portfolio-management","depth":2},{"value":"Flow Diagram: Portfolio Optimisation","id":"flow-diagram-portfolio-optimisation","depth":2},{"value":"1. Authenticate","id":"1.-authenticate","depth":2},{"value":"Example Request","id":"example-request","depth":3},{"value":"2. Portfolio Management","id":"2.-portfolio-management","depth":2},{"value":"Example Requests","id":"example-requests","depth":3},{"value":"⚙️ Additional Notes on Record Management","id":"️-additional-notes-on-record-management","depth":2},{"value":"Record Addition Limits","id":"record-addition-limits","depth":3},{"value":"Importing Records via CSV","id":"importing-records-via-csv","depth":3},{"value":"3. Portfolio Optimisation","id":"3.-portfolio-optimisation","depth":2},{"value":"4. Matching, Deduplication, and Enrichment","id":"4.-matching-deduplication-and-enrichment","depth":2},{"value":"Matching","id":"matching","depth":3},{"value":"Deduplication","id":"deduplication","depth":3},{"value":"Enrichment","id":"enrichment","depth":3},{"value":"5. Retrieve Job Status and Results","id":"5.-retrieve-job-status-and-results","depth":2},{"value":"Example Request","id":"example-request-1","depth":3},{"value":"6. Delete Records or Portfolio","id":"6.-delete-records-or-portfolio","depth":2}],"frontmatter":{"seo":{"title":"DataStudio API Endpoints"}},"lastModified":"2026-03-27T09:21:13.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/datastudio/documentation/management","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}