curl --request POST \
--url https://api.checkfu.com/v1/audit/export \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'checkfu-version: <checkfu-version>' \
--data '
{
"after": 1,
"limit": 1,
"action": "<string>",
"principal_id": "<string>",
"resource_kind": "<string>",
"resource_id": "<string>",
"surface_scope_id": "<string>",
"agent_id": "<string>",
"connection_id": "<string>",
"since": "<string>",
"until": "<string>"
}
'import requests
url = "https://api.checkfu.com/v1/audit/export"
payload = {
"after": 1,
"limit": 1,
"action": "<string>",
"principal_id": "<string>",
"resource_kind": "<string>",
"resource_id": "<string>",
"surface_scope_id": "<string>",
"agent_id": "<string>",
"connection_id": "<string>",
"since": "<string>",
"until": "<string>"
}
headers = {
"checkfu-version": "<checkfu-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'checkfu-version': '<checkfu-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
after: 1,
limit: 1,
action: '<string>',
principal_id: '<string>',
resource_kind: '<string>',
resource_id: '<string>',
surface_scope_id: '<string>',
agent_id: '<string>',
connection_id: '<string>',
since: '<string>',
until: '<string>'
})
};
fetch('https://api.checkfu.com/v1/audit/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.checkfu.com/v1/audit/export",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'after' => 1,
'limit' => 1,
'action' => '<string>',
'principal_id' => '<string>',
'resource_kind' => '<string>',
'resource_id' => '<string>',
'surface_scope_id' => '<string>',
'agent_id' => '<string>',
'connection_id' => '<string>',
'since' => '<string>',
'until' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"checkfu-version: <checkfu-version>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.checkfu.com/v1/audit/export"
payload := strings.NewReader("{\n \"after\": 1,\n \"limit\": 1,\n \"action\": \"<string>\",\n \"principal_id\": \"<string>\",\n \"resource_kind\": \"<string>\",\n \"resource_id\": \"<string>\",\n \"surface_scope_id\": \"<string>\",\n \"agent_id\": \"<string>\",\n \"connection_id\": \"<string>\",\n \"since\": \"<string>\",\n \"until\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("checkfu-version", "<checkfu-version>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.checkfu.com/v1/audit/export")
.header("checkfu-version", "<checkfu-version>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"after\": 1,\n \"limit\": 1,\n \"action\": \"<string>\",\n \"principal_id\": \"<string>\",\n \"resource_kind\": \"<string>\",\n \"resource_id\": \"<string>\",\n \"surface_scope_id\": \"<string>\",\n \"agent_id\": \"<string>\",\n \"connection_id\": \"<string>\",\n \"since\": \"<string>\",\n \"until\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.checkfu.com/v1/audit/export")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["checkfu-version"] = '<checkfu-version>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"after\": 1,\n \"limit\": 1,\n \"action\": \"<string>\",\n \"principal_id\": \"<string>\",\n \"resource_kind\": \"<string>\",\n \"resource_id\": \"<string>\",\n \"surface_scope_id\": \"<string>\",\n \"agent_id\": \"<string>\",\n \"connection_id\": \"<string>\",\n \"since\": \"<string>\",\n \"until\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"format": "checkfu.audit-export",
"schema_version": 1,
"workspace_id": "<string>",
"exported_at": "<string>",
"records": [
{
"sequence": 1,
"id": "<string>",
"workspace_id": "<string>",
"actor": {
"kind": "system"
},
"action": "<string>",
"resource_kind": "<string>",
"resource_id": "<string>",
"outcome": "succeeded",
"detail_json": "<string>",
"anonymous_subject_ref": "<string>",
"created_at": "<string>",
"prev_hash": "<string>",
"content_hash": "<string>",
"chain_version": "checkfu.audit.v1",
"chain_subject_id": "<string>",
"surface_scope_id": "<string>",
"agent_id": "<string>",
"connection_id": "<string>"
}
],
"next_after": 1
}{
"error": {
"type": "validation.malformed",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-malformed"
}
}{
"error": {
"type": "auth.invalid_key",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#auth-invalid-key"
}
}{
"error": {
"type": "auth.disabled_tenancy",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#auth-disabled-tenancy"
}
}{
"error": {
"type": "budget.exceeded",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#budget-exceeded"
}
}{
"error": {
"type": "runtime.internal",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#runtime-internal"
}
}Export AuditRecords for SIEM ingestion
Returns a resumable export document of AuditRecords in ledger order, accepting the same filters as audit.listAudit in the request body. Resume by passing the previous response’s next_after as after; a null next_after means the filtered range is exhausted. Despite the POST method this writes nothing — the body carries the query because the filter set exceeds a practical query string.
Checkfu support posture: alpha; hosted. Required evidence journey: governance-registry. Deployment-specific readiness and the latest proven release are available from GET /v1/support/capabilities.
curl --request POST \
--url https://api.checkfu.com/v1/audit/export \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'checkfu-version: <checkfu-version>' \
--data '
{
"after": 1,
"limit": 1,
"action": "<string>",
"principal_id": "<string>",
"resource_kind": "<string>",
"resource_id": "<string>",
"surface_scope_id": "<string>",
"agent_id": "<string>",
"connection_id": "<string>",
"since": "<string>",
"until": "<string>"
}
'import requests
url = "https://api.checkfu.com/v1/audit/export"
payload = {
"after": 1,
"limit": 1,
"action": "<string>",
"principal_id": "<string>",
"resource_kind": "<string>",
"resource_id": "<string>",
"surface_scope_id": "<string>",
"agent_id": "<string>",
"connection_id": "<string>",
"since": "<string>",
"until": "<string>"
}
headers = {
"checkfu-version": "<checkfu-version>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'checkfu-version': '<checkfu-version>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
after: 1,
limit: 1,
action: '<string>',
principal_id: '<string>',
resource_kind: '<string>',
resource_id: '<string>',
surface_scope_id: '<string>',
agent_id: '<string>',
connection_id: '<string>',
since: '<string>',
until: '<string>'
})
};
fetch('https://api.checkfu.com/v1/audit/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.checkfu.com/v1/audit/export",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'after' => 1,
'limit' => 1,
'action' => '<string>',
'principal_id' => '<string>',
'resource_kind' => '<string>',
'resource_id' => '<string>',
'surface_scope_id' => '<string>',
'agent_id' => '<string>',
'connection_id' => '<string>',
'since' => '<string>',
'until' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"checkfu-version: <checkfu-version>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.checkfu.com/v1/audit/export"
payload := strings.NewReader("{\n \"after\": 1,\n \"limit\": 1,\n \"action\": \"<string>\",\n \"principal_id\": \"<string>\",\n \"resource_kind\": \"<string>\",\n \"resource_id\": \"<string>\",\n \"surface_scope_id\": \"<string>\",\n \"agent_id\": \"<string>\",\n \"connection_id\": \"<string>\",\n \"since\": \"<string>\",\n \"until\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("checkfu-version", "<checkfu-version>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.checkfu.com/v1/audit/export")
.header("checkfu-version", "<checkfu-version>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"after\": 1,\n \"limit\": 1,\n \"action\": \"<string>\",\n \"principal_id\": \"<string>\",\n \"resource_kind\": \"<string>\",\n \"resource_id\": \"<string>\",\n \"surface_scope_id\": \"<string>\",\n \"agent_id\": \"<string>\",\n \"connection_id\": \"<string>\",\n \"since\": \"<string>\",\n \"until\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.checkfu.com/v1/audit/export")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["checkfu-version"] = '<checkfu-version>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"after\": 1,\n \"limit\": 1,\n \"action\": \"<string>\",\n \"principal_id\": \"<string>\",\n \"resource_kind\": \"<string>\",\n \"resource_id\": \"<string>\",\n \"surface_scope_id\": \"<string>\",\n \"agent_id\": \"<string>\",\n \"connection_id\": \"<string>\",\n \"since\": \"<string>\",\n \"until\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"format": "checkfu.audit-export",
"schema_version": 1,
"workspace_id": "<string>",
"exported_at": "<string>",
"records": [
{
"sequence": 1,
"id": "<string>",
"workspace_id": "<string>",
"actor": {
"kind": "system"
},
"action": "<string>",
"resource_kind": "<string>",
"resource_id": "<string>",
"outcome": "succeeded",
"detail_json": "<string>",
"anonymous_subject_ref": "<string>",
"created_at": "<string>",
"prev_hash": "<string>",
"content_hash": "<string>",
"chain_version": "checkfu.audit.v1",
"chain_subject_id": "<string>",
"surface_scope_id": "<string>",
"agent_id": "<string>",
"connection_id": "<string>"
}
],
"next_after": 1
}{
"error": {
"type": "validation.malformed",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#validation-malformed"
}
}{
"error": {
"type": "auth.invalid_key",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#auth-invalid-key"
}
}{
"error": {
"type": "auth.disabled_tenancy",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#auth-disabled-tenancy"
}
}{
"error": {
"type": "budget.exceeded",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#budget-exceeded"
}
}{
"error": {
"type": "runtime.internal",
"message": "<string>",
"more": "https://docs.checkfu.com/reference/errors#runtime-internal"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
2026-08-27 Body
x >= 0x > 01^prin_[0-9a-f]{32}$11^surf_[0-9a-f]{32}$^agent_[0-9a-f]{32}$^conn_[0-9a-f]{32}$A canonical UTC ISO-8601 audit-list bound with millisecond precision.
24^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$A canonical UTC ISO-8601 audit-list bound with millisecond precision.
24^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$Response
Success
checkfu.audit-export 1 ^wrkspc_[0-9a-f]{32}$Show child attributes
Show child attributes
x >= 0