Audit Logs

Get audit log entry

Retrieve a single audit-log record by its unique identifier.

get/api/audit-logs/{id}

Request

  • Base URL
    https://app.cotool.ai
  • Auth
    HTTP bearer

Path parameters

idstring required

Unique identifier of the audit log entry to retrieve

Response

Successful response

idstring required

Unique identifier for this audit log entry

timestampstring required

When the audited event occurred

organizationIdstring uuid required

Organization where the event took place

eventstring required

Type of event that was audited (e.g., user.login, agent.runStarted)

actorstring required

Who or what performed the action (user, agent, chat)

userIdstring uuid nullable required

ID of the user involved in the event (null if not applicable)

ipAddressstring nullable required

IP address where the event originated (null if not applicable)

chatIdstring uuid nullable required

ID of the chat involved in the event (null if not applicable)

agentIdstring uuid nullable required

ID of the agent involved in the event (null if not applicable)

runIdstring uuid nullable required

ID of the agent run involved in the event (null if not applicable)

triggerIdstring uuid nullable required

ID of the trigger involved in the event (null if not applicable)

dataobject nullable required

Additional event-specific data (null if no extra data)

createdAtstring required

When this audit log entry was created in the database

Changes

No recorded changes to this operation across all 2 revisions of this API.