Export findings as JSON, CSV, or SARIF, optionally filtered by repository
curl --request GET \
--url https://api.hacktron.ai/v1/findings/export \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.hacktron.ai/v1/findings/export"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.hacktron.ai/v1/findings/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hacktron.ai/v1/findings/export",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hacktron.ai/v1/findings/export"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hacktron.ai/v1/findings/export")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hacktron.ai/v1/findings/export")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_bodyFindings
Export findings
Export findings across all scans as JSON, CSV, or SARIF.
GET
/
findings
/
export
Export findings as JSON, CSV, or SARIF, optionally filtered by repository
curl --request GET \
--url https://api.hacktron.ai/v1/findings/export \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.hacktron.ai/v1/findings/export"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.hacktron.ai/v1/findings/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hacktron.ai/v1/findings/export",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hacktron.ai/v1/findings/export"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hacktron.ai/v1/findings/export")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hacktron.ai/v1/findings/export")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_bodyExports findings across every scan in your organization in one of three formats. This is the organization-wide counterpart to Export scan findings, which is scoped to a single scan. Only findings that have passed automated verification (
Returns a JSON array of finding objects, each matching the schema described in List findings.
Returns a CSV document with one row per finding and a header row. Intended for spreadsheets, BI tools, and ad‑hoc review.
Returns a SARIF 2.1.0 document. SARIF is consumed by GitHub code scanning, Azure DevOps, and most IDE security plugins; use this format to integrate Hacktron findings into existing security tooling.
verification_status = approved) are returned.
Use the same filters available on List findings — including severity, state, scan_type, found_since, and found_until — to export exactly the findings you are looking at. Scope the export to one repository with the repo_url filter.
Scope required:
readformat=json
Content-Type: application/json; charset=utf-8
format=csv
Content-Type: text/csv; charset=utf-8
Content-Disposition: attachment; filename="findings.csv"
format=sarif
Content-Type: application/sarif+json; charset=utf-8
Content-Disposition: attachment; filename="findings.sarif"
Authorizations
Query Parameters
The page number to retrieve.
The number of items to retrieve per page.
Available options:
critical, high, medium, low, info Available options:
open, true_positive, false_positive, accepted_risk, resolved, closed Filter by scan type across all scans associated with the finding.
Available options:
pr, full Filter by repository URL. Case-insensitive; a trailing slash or .git suffix is ignored.
Only include findings discovered on/after this ISO 8601 timestamp.
Only include findings discovered before this ISO 8601 timestamp.
Available options:
found_at, updated_at, severity Available options:
ASC, DESC Export format
Available options:
json, csv, sarif Response
200
⌘I