user

GET /user/v1/audit-logs/

Changed on

List audit logs for an organization. Requires admin or organization API key access.

Request

  • Base URL
    https://api.cekura.ai
  • URL
    https://api.cekura.ai/user/v1/audit-logs/
  • Auth
    • API key in header X-CEKURA-API-KEY
    • or HTTP bearer

Query parameters

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

organization_idstring required

Organization whose logs are being fetched

start_timestring

Start of the time range for logs (ISO 8601, e.g. 2025-01-01T00:00:00Z). Defaults to 1 week ago. Max duration between start_time and end_time is 30 days.

end_timestring

End of the time range for logs (ISO 8601, e.g. 2025-12-31T23:59:59Z). Defaults to now. Max duration between start_time and end_time is 30 days.

project_idstring

Filter logs for a specific project

user_emailstring

Filter logs for actions performed by a specific user

object_typestring

Type of object being tracked (e.g. aiagent, metric, scenario, api_key)

object_idstring

Unique identifier of the object. Must be used together with object_type

action_typestring

Higher-level classification of the action (e.g. object, run_scenarios)

operation_typestring

Type of operation performed (create, update, delete)

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "https://api.cekura.ai/example/v1/example-external/?page=4",
  "previous": "https://api.cekura.ai/example/v1/example-external/?page=3"
}

Changes