---
title: "Get the activity of a resource."
method: GET
path: "/actionlog/resource/{resourceId}.json"
tags: ["Action logs"]
---

# Get the activity of a resource.

`GET /actionlog/resource/{resourceId}.json`

## Request

- Base URL: `https://passbolt.local`
- URL: `https://passbolt.local/actionlog/resource/{resourceId}.json`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/passbolt/apis/passbolt-api/docs/actionlog/resource/:resourceId.json/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the interpreted activities recorded for a resource. The caller must have access to the resource: a resource that does not exist and a resource the caller cannot see are answered the same way.

## Path parameters

- `resourceId` string, uuid, required

## Query parameters

- `limit` integer
- `page` integer

## Response `200`

Operation is successful.

- object
  - `header` Header, required
    - `id` string, uuid, required
    - `status` 'success' | 'error', required
    - `servertime` integer, required
    - `action` string, uuid, required
    - `message` string, required
    - `url` string, uri, required
    - `code` integer, required
  - `body` Activity[], required
    - `id` string, uuid, required
    - `action_log_id` string, uuid, required: Identifier of the underlying log entry.
    - `type` string, required: The kind of activity, which determines the shape of `data`.
    - `creator` ActivityCreator, required: The author of an activity, reduced to what the activity feed displays.
      - `id` string, uuid, required
      - `username` string, email, required
      - `profile` object, required
        - `id` string, uuid
        - `first_name` string
        - `last_name` string
        - `avatar` object
          - `url` object
            - `medium` string, uri
            - `small` string, uri
    - `created` string, date-time, required
    - `data` object, required: Details of the activity. Its content depends on the value of `type`, so a client should switch on `type` before reading it. Note that for a resource using the v5 encrypted metadata format, `data.resource.name` is null, since the activity reads the cleartext columns.

## Other responses

- `400`: The resource identifier is not a valid UUID.
- `401`: Authentication required.
- `404`: Not found

## Changes

- **2026-11-06** `8d72215e2274`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/passbolt/apis/passbolt-api/changes/actionlog/resource/:resourceId.json/get.md)

---

[API](https://skmtc.dev/passbolt/apis/passbolt-api.md) - [All operations](https://skmtc.dev/passbolt/apis/passbolt-api/llms.txt) - [OpenAPI document](https://skmtc.dev/passbolt/apis/passbolt-api/revisions/8d72215e2274?raw)
