Skip to main content
GET
/
company
/
{id}
/
activity-logs
Get list of company activity logs
curl --request GET \
  --url https://api.kinsta.com/v2/company/{id}/activity-logs \
  --header 'Authorization: Bearer <token>'
{
  "company": {
    "activity_logs": {
      "items": [
        {
          "id": 34181968,
          "site_id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
          "created_at": 1665382600770,
          "is_done": true,
          "has_failed": false,
          "has_warning": false,
          "type": "deleteSite",
          "public_error": "The environment is blocked by another process. Please try again a bit later.",
          "ip_address": "203.0.113.42",
          "descriptions": [
            "Delete site \"Test ABC\""
          ],
          "initiated_by": {
            "id": "admin-user",
            "role": "admin",
            "full_name": "Jane",
            "first_name": "Smith"
          },
          "user_agent_info": {
            "browser_name": "Chrome",
            "browser_version": "126.0.0",
            "os_name": "macOS"
          },
          "api_key_info": {
            "id": "cf5b98a0-6fdd-4997-9c1f-e73d566533be",
            "name": "Public API Key"
          }
        }
      ],
      "total": 42
    }
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

limit
number
default:10
Example:

10

offset
number
default:0
Example:

3

category
enum<string>
Available options:
siteActions,
kinstaDns,
migrations,
billing,
notifications,
userManagement,
personalSettings,
samlSso
Example:

"siteActions"

site_id
string
id_initiated_by
string
id_api_key
string
language
enum<string>
default:en
Available options:
da,
de,
en,
es,
fr,
it,
ja,
nl,
pt,
sv

Response

Successfully found activity logs

company
object
required