Export the audit journal the filters keep, as CSV
GET
/api/v1/audit-log/export.csv
const url = 'https://gpu-kitchen.example.lan/api/v1/audit-log/export.csv?scope=people';const options = {method: 'GET', headers: {cookie: 'gpuk_session=<gpuk_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://gpu-kitchen.example.lan/api/v1/audit-log/export.csv?scope=people' \ --cookie gpuk_session=<gpuk_session>Newest first, at most 10000 lines.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”One line per entry: when, who, what, target and detail.
Media typetext/csv; charset=utf-8
Error codes: validation_error.
Media typeapplication/json
object
error
required
object
code
required
Stable snake_case code to branch on.
string
message
required
A sentence to show a person.
string
details
Optional structured context.
fix
Optional place where the problem is fixed.
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}Error codes: auth_required.
Media typeapplication/json
object
error
required
object
code
required
Stable snake_case code to branch on.
string
message
required
A sentence to show a person.
string
details
Optional structured context.
fix
Optional place where the problem is fixed.
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}Error codes: admin_required, forbidden.
Media typeapplication/json
object
error
required
object
code
required
Stable snake_case code to branch on.
string
message
required
A sentence to show a person.
string
details
Optional structured context.
fix
Optional place where the problem is fixed.
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}Error codes: rate_limited.
Media typeapplication/json
object
error
required
object
code
required
Stable snake_case code to branch on.
string
message
required
A sentence to show a person.
string
details
Optional structured context.
fix
Optional place where the problem is fixed.
string
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": "example", "fix": "example" }}