> ## Documentation Index > Fetch the complete documentation index at: https://support.fortanix.com/llms.txt > Use this file to discover all available pages before exploring further. # Get On-Prem Source Code Scanned Summary report > Get On-Prem Source Code Scanned Summary report ## OpenAPI ````json GET /api/v1/discovery/scans/{id}/summary_report/on_prem/source_code { "openapi": "3.0.0", "info": { "description": "**API of the Fortanix Unified Data and AI Security Platform**\n\nThe API client *must* follow HTTP redirects, including 308 redirects. Many HTTP libraries (such as Python Requests, JavaScript fetch) do this by default. With cURL, you must pass `--location`.\n", "title": "Armor API", "version": "0.1.0" }, "servers": [ { "url": "https://api.armor.fortanix.com" } ], "tags": [ { "description": "APIs regarding creating or ending a session.", "name": "Authentication" }, { "description": "APIs regarding obtaining details about the connection.", "name": "DiscoveryConnection" }, { "description": "APIs regarding obtaining details about the policies.", "name": "DiscoveryPolicies" }, { "description": "APIs regarding obtaining details about the scans.", "name": "DiscoveryScan" }, { "description": "APIs regarding obtaining the reports related to AWS.", "name": "DiscoveryAwsReports" }, { "description": "APIs regarding obtaining the reports related to Azure.", "name": "DiscoveryAzureReports" }, { "description": "APIs regarding obtaining the reports for Services.", "name": "DiscoveryServicesReports" }, { "description": "APIs regarding obtaining the PQC reports.", "name": "DiscoveryPqcReports" }, { "description": "APIs regarding obtaining the reports related to DSM.", "name": "DiscoveryDsmReports" }, { "description": "APIs regarding obtaining the details about the inventory objects.", "name": "DiscoveryInventory" }, { "description": "APIs regarding obtaining the reports related to On-Prem infrastructure.", "name": "DiscoveryOnPremReports" }, { "description": "APIs regarding obtaining the details about the inventory objects associated to a scan.", "name": "DiscoveryScanInventory" } ], "paths": { "/api/v1/discovery/scans/{id}/summary_report/on_prem/source_code": { "get": { "description": "Get On-Prem Source Code Scanned Summary report", "operationId": "GetOnpremSourceCodeScanSummaryReport", "parameters": [ { "in": "path", "name": "id", "required": true, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "2XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DiscoveryOnPremSourceCodeScanSummaryReport" } } }, "description": "Success result" } }, "security": [ { "Oauth2ClientCredentials": [] } ], "summary": "Get On-Prem Source Code Scanned Summary report", "tags": [ "DiscoveryOnPremReports" ] } } }, "components": { "schemas": { "DiscoveryOnPremSourceCodeScanSummaryReport": { "allOf": [ { "properties": { "crypto_asset_metrics": { "$ref": "#/components/schemas/DiscoveryOnPremSourceCodeSummaryCryptoAssetMetrics" }, "resource_metrics": { "$ref": "#/components/schemas/DiscoveryOnPremSourceCodeResourceMetrics" } }, "required": [ "resource_metrics", "crypto_asset_metrics" ], "type": "object" } ] }, "DiscoveryOnPremSourceCodeSummaryCryptoAssetMetrics": { "allOf": [ { "properties": { "asset_metrics_by_repository": { "additionalProperties": { "$ref": "#/components/schemas/DiscoveryOnPremSourceCodeCryptoAssetMetrics" }, "description": "Map from Repository URL to count of crypto assets in the repository", "type": "object" }, "asset_metrics_by_type": { "additionalProperties": { "$ref": "#/components/schemas/DiscoveryOnPremSourceCodeCryptoAssetMetrics" }, "type": "object" }, "total_assets": { "type": "integer" } }, "required": [ "total_assets", "asset_metrics_by_repository", "asset_metrics_by_type" ], "type": "object" } ] }, "DiscoveryOnPremSourceCodeResourceMetrics": { "allOf": [ { "properties": { "total_repositories": { "type": "integer" } }, "required": [ "total_repositories" ], "type": "object" } ] }, "DiscoveryOnPremSourceCodeCryptoAssetMetrics": { "allOf": [ { "properties": { "count": { "type": "integer" } }, "required": [ "count" ], "type": "object" } ] } }, "securitySchemes": { "Oauth2ClientCredentials": { "description": "OAuth 2.0 client credential flow, see https://datatracker.ietf.org/doc/html/rfc6749#section-4.4.", "flows": { "clientCredentials": { "scopes": {}, "tokenUrl": "https://api.armor.fortanix.com/api/v1/iam/session/oauth2/token" } }, "type": "oauth2" } } } } ````