> ## 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. # Search Scanned account names > Search Scanned account names ## OpenAPI ````json GET /api/v1/discovery/scans/{id}/accounts/aws { "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}/accounts/aws": { "get": { "description": "Search Scanned account names", "operationId": "GetScannedAwsAccounts", "parameters": [ { "in": "path", "name": "id", "required": true, "schema": { "format": "uuid", "type": "string" } }, { "$ref": "#/components/parameters/DiscoveryScannedAwsAccountsParams" } ], "responses": { "2XX": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DiscoveryScannedAwsAccountsResponse" } } }, "description": "Success result" } }, "security": [ { "Oauth2ClientCredentials": [] } ], "summary": "Search Scanned account names", "tags": [ "DiscoveryAwsReports" ] } } }, "components": { "parameters": { "DiscoveryScannedAwsAccountsParams": { "explode": true, "in": "query", "name": "DiscoveryScannedAwsAccountsParams", "schema": { "$ref": "#/components/schemas/DiscoveryScannedAwsAccountsParams" } } }, "schemas": { "DiscoveryScannedAwsAccountsResponse": { "allOf": [ { "properties": { "items": { "items": { "$ref": "#/components/schemas/DiscoveryScannedAwsAccount" }, "type": "array" } }, "required": [ "items" ], "type": "object" } ] }, "DiscoveryScannedAwsAccountsParams": { "allOf": [ { "properties": { "filter": { "type": "string" }, "limit": { "type": "integer" }, "previous_id": { "type": "string" }, "sort_by": { "type": "string" } }, "type": "object" } ] }, "DiscoveryScannedAwsAccount": { "allOf": [ { "properties": { "details": { "$ref": "#/components/schemas/DiscoveryScannedAwsAccountDetails" }, "id": { "type": "string" }, "regions": { "items": { "$ref": "#/components/schemas/DiscoveryAwsRegion" }, "type": "array", "uniqueItems": true } }, "required": [ "id", "regions" ], "type": "object" } ] }, "DiscoveryScannedAwsAccountDetails": { "allOf": [ { "properties": { "name": { "nullable": true, "type": "string" } }, "type": "object" } ] }, "DiscoveryAwsRegion": { "description": "Reference: https://docs.aws.amazon.com/general/latest/gr/rande.html", "enum": [ "us-east-2", "us-east-1", "us-west-1", "us-west-2", "af-south-1", "ap-east-1", "ap-south-2", "ap-southeast-3", "ap-southeast-4", "ap-south-1", "ap-northeast-3", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ca-central-1", "ca-west-1", "eu-central-1", "eu-west-1", "eu-west-2", "eu-south-1", "eu-west-3", "eu-south-2", "eu-north-1", "eu-central-2", "il-central-1", "me-south-1", "me-central-1", "sa-east-1", "us-gov-east-1", "us-gov-west-1" ], "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" } } } } ````