Skip to main content
GET
/
v1
/
activity
/
{log_id}
Get activity log entry
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.keystoneos.xyz/v1/activity/{log_id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "<string>",
  "category": "<string>",
  "severity": "<string>",
  "description": "<string>",
  "actor_type": "<string>",
  "actor_id": "<string>",
  "resource_type": "<string>",
  "resource_id": "<string>",
  "method": "<string>",
  "path": "<string>",
  "status_code": 123,
  "ip_address": "<string>",
  "user_agent": "<string>",
  "duration_ms": 123,
  "detail": null,
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Auth0 JWT access token. See Authentication for details.

Path Parameters

log_id
string<uuid>
required

Response

Successful Response

id
string<uuid>
required
type
string
required
category
string
required
severity
string
required
description
string
required
actor_type
string
required
actor_id
string | null
required
resource_type
string | null
required
resource_id
string | null
required
method
string | null
required
path
string | null
required
status_code
integer | null
required
ip_address
string | null
required
user_agent
string | null
required
duration_ms
integer | null
required
detail
unknown
required
created_at
string<date-time>
required