Skip to main content
GET
/
workspaces
/
logs
Get audit logs
curl --request GET \
  --url https://app2.freyavoice.ai/api/v2/workspaces/logs \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "message": "<string>",
    "result": {
      "logs": [
        {
          "id": "<string>",
          "workspaceId": "<string>",
          "eventType": "LOGIN",
          "eventDescription": "<string>",
          "actorId": "<string>",
          "createdAt": "<string>",
          "actorEmail": "<string>",
          "metadata": {}
        }
      ],
      "nextCursor": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

workspaceId
string<uuid>
required

Workspace ID

limit
integer

Maximum number of logs to return (1-100)

Required range: 1 <= x <= 100
cursor
string

Cursor for pagination

Response

Audit log entries

success
enum<boolean>
required
Available options:
true,
false
data
object
required