---
updatedAt: 2025-09-25T00:36:54.000Z
agentTools:
  projectIndex: https://gtidocs.readme.io/llms.txt
---

# List private files

> 🚧 Special privileges required
>
> Private Scanning endpoints are only available to users with [Private Scanning license](https://www.virustotal.com/gui/private-scanning-overview).

Returns a list of previously analysed [private files](https://gtidocs.readme.io/reference/private-files-object). The files are always ordered by SHA256.

```json /api/v3/private/files
{
  "meta": {
    "cursor": <string>,
    "count": <int>
  },
  "data": {
    <PRIVATE_FILE_OBJECT>,
    <PRIVATE_FILE_OBJECT>,
    ...
  },
  "links": {
    "self": <string>,
    "next": <string>
  }
}
```
```json
{
	"meta": {
		"cursor": "079b1db08ac52c94be8fdb5b638134a6109a510bc10a87c15413d6c793985678",
		"count": 19
	},
	"data": [
		{
			"attributes": {
				"type_description": "Windows Installer",
        ...
      },
      "type": "private_file",
      "id": "079b1db08ac52c94be8fdb5b638134a6109a510bc10a87c15413d6c793985678",
      "links": {
        "self": "https://www.virustotal.com/api/v3/private/files/079b1db08ac52c94be8fdb5b638134a6109a510bc10a87c15413d6c793985678"
      }
    },
    ...
  ],
  "links": {
		"self": "https://www.virustotal.com/api/v3/private/files?limit=1",
		"next": "https://www.virustotal.com/api/v3/private/files?cursor=079b1db08ac52c94be8fdb5b638134a6109a510bc10a87c15413d6c793985678&limit=1"
	}
}
```

# OpenAPI definition

```json
{
  "info": {
    "title": "Private Scanning",
    "version": "3.0"
  },
  "openapi": "3.1.0",
  "tags": [
    {
      "name": "Private Files"
    }
  ],
  "paths": {
    "/files": {
      "get": {
        "tags": [
          "Private Files"
        ],
        "deprecated": false,
        "description": "",
        "operationId": "list-private-files",
        "parameters": [
          {
            "description": "Your API key",
            "in": "header",
            "name": "x-apikey",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Maximum number of files to retrieve (40 max)",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 10,
              "format": "int32",
              "type": "integer",
              "maximum": 40,
              "minimum": 0
            }
          },
          {
            "description": "Continuation cursor",
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            },
            "description": "200"
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            },
            "description": "400"
          }
        },
        "summary": "List private files"
      }
    }
  },
  "security": [],
  "servers": [
    {
      "url": "https://www.virustotal.com/api/v3/private"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "headers": [],
    "proxy-enabled": false,
    "samples-enabled": true
  }
}
```