List Audit Entries
GET
/api/v1/audit-log
const url = 'https://api.ultimateteam.ai/api/v1/audit-log?page=1&page_size=50';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
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://api.ultimateteam.ai/api/v1/audit-log?page=1&page_size=50' \ --header 'X-API-Key: <X-API-Key>'Return a page of tenant audit entries.
Permission: SYSTEM_VIEW (chairman / operator / viewer). Tenant scope is the caller’s tenant – cross-tenant lookups return an empty list (no 403, no 404).
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
AuditLogPage
Paginated audit log envelope.
object
entries
Entries
Array<object>
AuditEntryResponseOne audit entry as serialised on the wire.
object
action_type
required
Action Type
string
created_at
required
Created At
string
entry_hash
required
Entry Hash
string
id
required
Id
string
prev_hash
required
Prev Hash
string
target_type
required
Target Type
string
tenant_id
required
Tenant Id
string
page
Page
integer
page_size
Page Size
integer
total
Total
integer
Example
{ "page": 1, "page_size": 50, "total": 0}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}