Audit

About audit log functionality you can find more info from Audit Log documentation. About Vault Receipts, see Vault Receipts documentation.

Get the audit log for the tenant

GET
https://api.prompteasy.eu/v1/audit

Response

A list of audit log entries

Response fields application/json
Show child attributes
idinteger
ipstring
Show child attributes
idinteger | null
namestring
initialsstring
operationstring
targetstring
403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Export audit logs as unencrypted JSONL

GET
https://api.prompteasy.eu/v1/audit/export

Export audit logs as a JSONL file with optional timeframe filtering. Recording of the export action is logged prior to streaming the export.

Parameters

start_timestring<date-time>query

Optional start time filter (ISO 8601 string)

end_timestring<date-time>query

Optional end time filter (ISO 8601 string)

Response

200OKstring<binary>

A raw JSONL file containing tenant header and audit log entries.

Response fields application/x-jsonlines
string<binary>
401Unauthorized

Unauthorized

403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Get the audit log for a specific user

GET
https://api.prompteasy.eu/v1/audit/users/{user}

Parameters

userintegerrequiredpath

Response

A list of audit log entries

Response fields application/json
Show child attributes
idinteger
ipstring
Show child attributes
idinteger | null
namestring
initialsstring
operationstring
targetstring
403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Get the audit log for a specific target

GET
https://api.prompteasy.eu/v1/audit/target/{targetTable}/{id}

Parameters

targetTablestringrequiredpath
idintegerrequiredpath

Response

A list of audit log entries

Response fields application/json
Show child attributes
idinteger
ipstring
Show child attributes
idinteger | null
namestring
initialsstring
operationstring
targetstring
403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Get the audit log for a specific date range

GET
https://api.prompteasy.eu/v1/audit/start/{startTime}/end/{endTime}

Parameters

startTimestring<date-time>requiredpath
endTimestring<date-time>requiredpath

Response

A list of audit log entries

Response fields application/json
Show child attributes
idinteger
ipstring
Show child attributes
idinteger | null
namestring
initialsstring
operationstring
targetstring
403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Get the audit log starting from a specific time

GET
https://api.prompteasy.eu/v1/audit/start/{startTime}

Parameters

startTimestring<date-time>requiredpath

Response

A list of audit log entries

Response fields application/json
Show child attributes
idinteger
ipstring
Show child attributes
idinteger | null
namestring
initialsstring
operationstring
targetstring
403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Get the cryptographic vault receipts for the tenant

GET
https://api.prompteasy.eu/v1/audit/receipts

Response

A paginated list of cryptographic vault receipts

Response fields application/json
current_pageinteger
Show child attributes
idstring<uuid>
datetimestring<date-time>
userobject
Show child attributes
idinteger | null
namestring
initialsstring
actionstringmodifiedversionedexecuted
hashstring
first_page_urlstring<uri>
frominteger
last_pageinteger
last_page_urlstring<uri>
next_page_urlstring<uri> | null
pathstring<uri>
per_pageinteger
prev_page_urlstring<uri> | null
tointeger
totalinteger
403Forbidden

Forbidden

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Get detailed cryptographic vault receipt details

GET
https://api.prompteasy.eu/v1/audit/receipts/{receipt}

Parameters

receiptstring<uuid>requiredpath

Response

Detailed vault receipt representation

Response fields application/json
idstring<uuid>
datetimestring<date-time>
userobject
Show child attributes
idinteger | null
namestring
initialsstring
prompt_idstring<uuid> | null
prompt_history_idstring<uuid> | null
actionstringmodifiedversionedexecuted
hashstring
signaturestring
promptstring | null
llm_system_messagestring | null
prompt_versioninteger
metadataobject
403Forbidden

Forbidden

404Not Found

Receipt not found

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)

Verify the cryptographic vault receipt integrity

GET
https://api.prompteasy.eu/v1/audit/receipts/{receipt}/verify

Parameters

receiptstring<uuid>requiredpath

Response

Verification result of a cryptographic vault receipt

Response fields application/json
validboolean
Show child attributes
idstring<uuid>
datetimestring<date-time>
userobject
Show child attributes
idinteger | null
namestring
initialsstring
prompt_idstring<uuid> | null
prompt_history_idstring<uuid> | null
actionstringmodifiedversionedexecuted
hashstring
signaturestring
promptstring | null
llm_system_messagestring | null
prompt_versioninteger
metadataobject
403Forbidden

Forbidden

404Not Found

Receipt not found

Authorization

ApiKeyAuthapiKey in header
BearerAuthhttp (bearer)