{ "opencollection": "1.0.0", "info": { "name": "Public Prewave Actions Scores - Enterprise Export API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Scores - Enterprise Export", "type": "folder" }, "items": [ { "info": { "name": "Get Export Configuration", "type": "http" }, "http": { "method": "GET", "url": "https://api.prewave.com/public/v1/enterprise-export/scores/config" }, "docs": "\nRetrieve the current export configuration for the authenticated user.\n\nThis endpoint returns the user's active export job configuration, which determines:\n- Which collections, targets, and perspectives to include\n- How frequently the export job runs (interval)\n- Whether the job is currently enabled\n- Whether to include detailed score components and subcomponents\n\n**Configuration Behavior:**\n\n*Run Intervals:*\n- `SIX_HOURS`: Job runs every 6 hours (minimum interval)\n- `TWELVE_HOURS`: Job runs eve" }, { "info": { "name": "Create or Update Export Configuration", "type": "http" }, "http": { "method": "POST", "url": "https://api.prewave.com/public/v1/enterprise-export/scores/config", "body": { "type": "json", "data": "{}" } }, "docs": "\nCreate a new export configuration or update the existing one for the authenticated user.\n\nThis endpoint allows you to configure automated score export jobs that will calculate and export scores for your specified collections, targets, and perspectives at regular intervals.\n\n**Upsert Behavior:**\n- If no configuration exists for the user, a new configuration will be created\n- If a configuration already exists, it will be completely replaced with the new values\n- This is an idempotent operation - " }, { "info": { "name": "Retrieve Latest Score Results", "type": "http" }, "http": { "method": "GET", "url": "https://api.prewave.com/public/v1/enterprise-export/scores", "params": [ { "name": "page", "value": "", "type": "query", "description": "Zero-based page index (0..N)" }, { "name": "size", "value": "", "type": "query", "description": "The size of the page to be returned" }, { "name": "sort", "value": "", "type": "query", "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported." } ] }, "docs": "\nRetrieve a paginated list of the most recent score results for the authenticated user.\n\nThis endpoint returns score data generated by the user's configured export job from the most recent successful execution. Results include:\n- Target information (ID, name, supplier identifiers)\n- Perspective details (ID, name)\n- Calculated scores and risk levels\n- Action priority when enabled for the export account in the database, using the same Supply Chain Analysis matrix logic as `GET/POST /v2/analysis/ma" }, { "info": { "name": "Retrieve Score Generation Errors", "type": "http" }, "http": { "method": "GET", "url": "https://api.prewave.com/public/v1/enterprise-export/scores/errors", "params": [ { "name": "page", "value": "", "type": "query", "description": "Zero-based page index (0..N)" }, { "name": "size", "value": "", "type": "query", "description": "The size of the page to be returned" }, { "name": "sort", "value": "", "type": "query", "description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported." } ] }, "docs": "\nRetrieve a paginated list of error logs related to score generation for the authenticated user.\n\nThis endpoint returns detailed error information for targets and perspectives where score calculation failed during the most recent successful export job execution. Use this endpoint to identify and troubleshoot issues that prevented score calculation for specific target-perspective combinations.\n\n**Data Source:**\n- Error logs are from the **last successful execution** only (errors from failed execu" } ] } ], "bundled": true }