---
title: "Get all scans."
slug: "get-all-scans"
updated: 2025-10-18T04:50:53Z
published: 2025-10-18T04:50:58Z
canonical: "support.fortanix.com/get-all-scans"
---

> ## 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 all scans.

Get/api/v1/discovery/scans

Get all scans.

SecurityOAuth

OAuth 2.0 client credential flow, see [https://datatracker.ietf.org/doc/html/rfc6749#section-4.4](https://datatracker.ietf.org/doc/html/rfc6749#section-4.4).

FlowClient Credentials Token URLhttps://api.armor.fortanix.com/api/v1/iam/session/oauth2/token
		

Query parametersDiscoveryScanParamsobject  filterstring    
limitinteger    
previous_idstring  (uuid)    
sort_bystring    

Responses2XX

Success result

<select class='api-response-data' aria-label='Media type'><option value='967886c8-742c-4529-82c1-973ce5ddc1bc'>application/json</option>
</select>Expand Allobject  items Array of object (DiscoveryScan)   object  acct_idstring  (uuid)    
connection_idstring  (uuid)    
created_atstring    Pattern^\d{4}\d{2}\d{2}T\d{2}\d{2}\d{2}Z$Example20170509T070912Z
ended_atstring    Pattern^\d{4}\d{2}\d{2}T\d{2}\d{2}\d{2}Z$Example20170509T070912Z
group_idstring  (uuid)    
last_updated_atstring    Pattern^\d{4}\d{2}\d{2}T\d{2}\d{2}\d{2}Z$Example20170509T070912Z
scan_errors Array of string  | null  string    
scan_idstring  (uuid)    
scan_statusstring    Valid values[
  "in_progress",
  "completed",
  "stopped",
  "pending",
  "failed"
]
