List audit exports
curl --request GET \
--url https://sta.sandbox.lerian.net/v1/audit/exports \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sta.sandbox.lerian.net/v1/audit/exports"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sta.sandbox.lerian.net/v1/audit/exports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sta.sandbox.lerian.net/v1/audit/exports"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"entityType": "<string>",
"format": "<string>",
"id": "<string>",
"periodFrom": "2023-11-07T05:31:56Z",
"periodTo": "2023-11-07T05:31:56Z",
"requestedAt": "2023-11-07T05:31:56Z",
"requestedBy": "<string>",
"status": "<string>",
"completedAt": "2023-11-07T05:31:56Z",
"failureReason": "<string>",
"recordCount": 123,
"sha256Hash": "<string>",
"sizeBytes": 123
}
],
"nextCursor": "<string>"
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}List audit exports
Returns the tenant audit-export journal in keyset order (requestedAt DESC). No download URL is embedded; fetch GET /v1/audit/exports//download to stream a READY export.
GET
/
v1
/
audit
/
exports
List audit exports
curl --request GET \
--url https://sta.sandbox.lerian.net/v1/audit/exports \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sta.sandbox.lerian.net/v1/audit/exports"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sta.sandbox.lerian.net/v1/audit/exports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sta.sandbox.lerian.net/v1/audit/exports"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"entityType": "<string>",
"format": "<string>",
"id": "<string>",
"periodFrom": "2023-11-07T05:31:56Z",
"periodTo": "2023-11-07T05:31:56Z",
"requestedAt": "2023-11-07T05:31:56Z",
"requestedBy": "<string>",
"status": "<string>",
"completedAt": "2023-11-07T05:31:56Z",
"failureReason": "<string>",
"recordCount": 123,
"sha256Hash": "<string>",
"sizeBytes": 123
}
],
"nextCursor": "<string>"
}{
"code": "ERR-0001",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}Authorizations
JWT bearer token issued by the identity provider.
Query Parameters
Opaque keyset pagination cursor from a prior response
Page size; clamped to [1,100] by the service (default 25)
Example:
25
Was this page helpful?

