Skip to main content
GET
/
api
/
audit-logs
/
{audit-log-id}
Retrieve single audit log
curl --request GET \
  --url https://{tenant}/api/audit-logs/{audit-log-id} \
  --header 'Authorization: Bearer <token>'
{
  "_id": "672a83e2b0418b224440ce29",
  "req_id": "0462e283-a55f-41ab-6482-60d2eeb1858c",
  "org_id": "66cf7f8db0418b1fbe91852b",
  "date": "Tue, 05 Nov 2024 17:45:22 -03",
  "timestamp": 1730839522,
  "ip": "127.0.0.1",
  "user": "jhon@mail.com",
  "action": "",
  "method": "GET",
  "url": "/api/audit-logs",
  "status": 200
}

Authorizations

Authorization
string
header
required

The Tyk Dashboard API Access Credentials

Path Parameters

audit-log-id
integer
required

ID of the audit log record to fetch.

Response

Audit Log retrieved successfully

_id
string
Example:

"672a83e2b0418b224440ce29"

req_id
string
Example:

"0462e283-a55f-41ab-6482-60d2eeb1858c"

org_id
string
Example:

"5e9d9544a1dcd60001d0ed20"

date
string
Example:

"Tue, 05 Nov 2024 17:45:22 -03"

timestamp
integer
Example:

1730839522

ip
string
Example:

"127.0.0.1"

user
string
Example:

"jhon@mail.com"

action
string
Example:

"List APIS"

method
string
Example:

"GET"

url
string
Example:

"/api/apis"

status
integer
Example:

200

I