> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/xsiam-api/vulnerability-management/vulnerability-findings-snapshot.md).

# Vulnerability Findings Snapshot

Bulk export of vulnerability findings

## Bulk export vulnerability findings snapshot

> Executes an XQL query against the \`uvm\_findings\` dataset and returns results as a newline-delimited JSON (NDJSON) stream for large result sets.\
> \
> \*\*Response variants:\*\*\
> \- \*\*Stream\*\* (\`application/x-ndjson\`) — large result sets; each line is a \`VulnerabilityFinding\` JSON object\
> \- \*\*Inline\*\* (\`application/json\`) — small result sets returned directly\
> \
> \*\*Required license:\*\* Cortex Cloud Runtime Security or Cortex Cloud Posture Management

```json
{"openapi":"3.1.0","info":{"title":"Vulnerability Management APIs","version":"Cortex XSIAM 3.5"},"tags":[{"name":"Vulnerability Findings Snapshot","description":"Bulk export of vulnerability findings"}],"servers":[{"url":"https://api-yourfqdn","description":""}],"paths":{"/vulnerability-management/v1/vulnerability-finding/snapshot":{"post":{"operationId":"getVulnerabilityFindingsSnapshot","summary":"Bulk export vulnerability findings snapshot","description":"Executes an XQL query against the `uvm_findings` dataset and returns results as a newline-delimited JSON (NDJSON) stream for large result sets.\n\n**Response variants:**\n- **Stream** (`application/x-ndjson`) — large result sets; each line is a `VulnerabilityFinding` JSON object\n- **Inline** (`application/json`) — small result sets returned directly\n\n**Required license:** Cortex Cloud Runtime Security or Cortex Cloud Posture Management","tags":["Vulnerability Findings Snapshot"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","description":"Top-level request envelope.","properties":{"request_data":{"$ref":"#/components/schemas/GetVulnerabilityFindingsSnapshotRequest"}}}}}},"responses":{"200":{"description":"Newline-delimited JSON stream response. Body is a newline-delimited stream of `VulnerabilityFinding` JSON objects.","content":{"application/x-ndjson":{"schema":{"type":"string","format":"binary","description":"Newline-delimited JSON stream. Each line is a self-contained `VulnerabilityFinding` JSON object."}}}},"400":{"description":"Invalid request parameters, or the feature is disabled.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindingsErrorResponse"}}}},"408":{"description":"Request timed out waiting for response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindingsErrorResponse"}}}},"429":{"description":"Rate limit exceeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindingsErrorResponse"}}}}}}}},"components":{"schemas":{"GetVulnerabilityFindingsSnapshotRequest":{"type":"object","description":"Request parameters for the vulnerability findings snapshot export.","properties":{"limit":{"type":"integer","description":"Maximum number of rows to return. Omit for the full dataset."},"timeframe":{"allOf":[{"$ref":"#/components/schemas/TimeframeAbsolute"}],"description":"Optional XQL timeframe using an absolute range (`from` + `to`). When omitted the server's default lookback window is used."}}},"TimeframeAbsolute":{"type":"object","description":"Absolute time range (both fields required together).","required":["from","to"],"properties":{"from":{"type":"integer","format":"int64","description":"Start of the timeframe as a Unix timestamp in **milliseconds**."},"to":{"type":"integer","format":"int64","description":"End of the timeframe as a Unix timestamp in **milliseconds**."}}},"FindingsErrorResponse":{"type":"object","description":"Standard error response for vulnerability findings endpoints.","properties":{"reply":{"type":"object","properties":{"err_code":{"type":"integer"},"err_msg":{"type":"string"},"err_extra":{"type":"string"}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/xsiam-api/vulnerability-management/vulnerability-findings-snapshot.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
