---
title: "Get activity journal for a compute"
method: GET
path: "/v1/journal/compute/{computeId}"
tags: ["Journal"]
---

# Get activity journal for a compute

`GET /v1/journal/compute/{computeId}`

Get all events for a compute (instance or cluster). Includes also associated volume or shared storage attach / detach events.

## Path parameters

- `computeId` string, required

## Query parameters

- `page` number
- `pageSize` number
- `compute_id` string
- `volume_id` string
- `action_code` 'create' | 'start' | 'start:complete' | 'shutdown:complete' | 'shutdown' | 'delete' | 'delete:complete' | 'attach' | 'attach:complete' | 'detach' | 'detach:complete' | 'clone' | 'resize' | 'rename' | 'restore' | 'transfer' | 'trash' | 'trash:complete' | 'configure_spot' | 'cancel' | 'provisioning' | 'running' | 'installation:failed' | 'validating' | 'deleting' | 'error'
- `object_type` 'compute' | 'volume'
- `hydrate` boolean

## Response `200`

- GetActivityJournalResponseDto[]
  - `id` string, required — Event ID, unique within the project. Please note that it is not UUID but a combined string to identify the event.
  - `object_id` string, required — ID of the object that the event is related to.
  - `object_type` 'compute' | 'volume', required — Object type that the event is related to.
  - `action_code` 'create' | 'start' | 'start:complete' | 'shutdown:complete' | 'shutdown' | 'delete' | 'delete:complete' | 'attach' | 'attach:complete' | 'detach' | 'detach:complete' | 'clone' | 'resize' | 'rename' | 'restore' | 'transfer' | 'trash' | 'trash:complete' | 'configure_spot' | 'cancel' | 'provisioning' | 'running' | 'installation:failed' | 'validating' | 'deleting' | 'error', required — Action that was performed on the object.
  - `actor_id` string, nullable — ID of the actor that performed the action. For some actions, such as spot discontinue, the actor is not available and assumed to be system.
  - `actor_email` string, nullable — Email of the actor that performed the action.
  - `project_id` string, required — ID of the project that the event is related to.
  - `timestamp` string, required — When the event happened.
  - `location_code` string, required — Datacenter location code where the event happened or this object is located.
  - `request_origin` string — Origin of the request that caused the event. For example, public API, Console UI, or undefined for the internal system.
  - `request_ip` string — IP address of the request that caused the event.
  - `error_message` string — For error events, the error message
  - `parent_id` string — For some events, for example attach volume during instance provisioning, the ID of the parent event.
  - `service` string — For some events, the internal service that caused the event.
  - `target_location_code` string — For cross-datacenter events, the location code of the target location.
  - `volume` ActivityVolumeDto
    - `id` string, required
    - `name` string, required
    - `created_at` string, required
    - `gb` number, required
    - `is_shared_fs` boolean, required
    - `template_type` 'HDD' | 'NVMe' | 'HDD_Shared' | 'NVMe_Shared' | 'NVMe_Local_Storage' | 'NVMe_Shared_Cluster' | 'NVMe_OS_Cluster', required
    - `location_code` string, required
  - `compute` ActivityComputeDto
    - `id` string, required
    - `hostname` string, required
    - `compute_type` string, required
    - `is_cluster` boolean, required
    - `ip` string, nullable
    - `os_volume_id` string, nullable
    - `location_code` string, nullable
  - `target_volume_id` string — For some events, the ID of the target volume.
  - `target_volume` ActivityVolumeDto
    - `id` string, required
    - `name` string, required
    - `created_at` string, required
    - `gb` number, required
    - `is_shared_fs` boolean, required
    - `template_type` 'HDD' | 'NVMe' | 'HDD_Shared' | 'NVMe_Shared' | 'NVMe_Local_Storage' | 'NVMe_Shared_Cluster' | 'NVMe_OS_Cluster', required
    - `location_code` string, required
  - `target_compute_id` string — For some events, the ID of the target compute.
  - `target_compute` ActivityComputeDto
    - `id` string, required
    - `hostname` string, required
    - `compute_type` string, required
    - `is_cluster` boolean, required
    - `ip` string, nullable
    - `os_volume_id` string, nullable
    - `location_code` string, nullable
  - `source_volume_id` string — For some events, the ID of the source volume.
  - `source_volume` ActivityVolumeDto
    - `id` string, required
    - `name` string, required
    - `created_at` string, required
    - `gb` number, required
    - `is_shared_fs` boolean, required
    - `template_type` 'HDD' | 'NVMe' | 'HDD_Shared' | 'NVMe_Shared' | 'NVMe_Local_Storage' | 'NVMe_Shared_Cluster' | 'NVMe_OS_Cluster', required
    - `location_code` string, required
  - `source_compute_id` string — For some events, the ID of the source compute.
  - `source_compute` ActivityComputeDto
    - `id` string, required
    - `hostname` string, required
    - `compute_type` string, required
    - `is_cluster` boolean, required
    - `ip` string, nullable
    - `os_volume_id` string, nullable
    - `location_code` string, nullable
  - `properties` object — Additional properties of the event.

---

[API](https://skmtc.net/datacrunch/apis/verda-cloud-public-api.md) · [All operations](https://skmtc.net/datacrunch/apis/verda-cloud-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datacrunch/verda-cloud-public-api/revisions/0d66c7340876/schema)
