> ## 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 a scan > Get a scan. ## OpenAPI ````json GET /api/v1/discovery/scans/{id} { "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}": { "get": { "description": "Get a scan.", "operationId": "GetScan", "parameters": [ { "in": "path", "name": "id", "required": true, "schema": { "format": "uuid", "type": "string" } } ], "responses": { "2XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DiscoveryScan" } } }, "description": "Success result" } }, "security": [ { "Oauth2ClientCredentials": [] } ], "summary": "Get a scan.", "tags": [ "DiscoveryScan" ] } } }, "components": { "schemas": { "DiscoveryScan": { "allOf": [ { "description": "Scan in Predjama.", "properties": { "acct_id": { "format": "uuid", "type": "string" }, "connection_id": { "format": "uuid", "type": "string" }, "created_at": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "ended_at": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "group_id": { "format": "uuid", "type": "string" }, "last_updated_at": { "example": "20170509T070912Z", "pattern": "^\\d{4}\\d{2}\\d{2}T\\d{2}\\d{2}\\d{2}Z$", "type": "string" }, "scan_errors": { "items": { "type": "string" }, "nullable": true, "type": "array" }, "scan_id": { "format": "uuid", "type": "string" }, "scan_status": { "$ref": "#/components/schemas/DiscoveryScanStatus" } }, "required": [ "acct_id", "connection_id", "created_at", "group_id", "last_updated_at", "scan_id", "scan_status" ], "type": "object" } ] }, "DiscoveryScanStatus": { "enum": [ "in_progress", "completed", "stopped", "pending", "failed" ], "type": "string" } }, "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" } } } } ````