---
title: "Retrieves resource activity timeline or event attribute details"
method: POST
path: "/v1/resource/dashboard/detail/activity"
tags: ["Resource"]
---

# Retrieves resource activity timeline or event attribute details

`POST /v1/resource/dashboard/detail/activity`

Retrieves activity timeline or event details for a single infrastructure resource. Mode 1 (no event_ids): paginated timeline. Mode 2 (with event_ids): changed attribute details for diff.

## Request body

- InfraResourceActivityRequest
  - `tenant_id` string, required — Tenant ID. Can be fetched from the List Tenants API.
  - `resource_id` string, required — Unique provider resource identifier.
  - `resource_category` string, required — Category of the resource (e.g. Compute, Storage, Network).
  - `resource_type` string, required — Type of the resource.
  - `resource` string, required — Resources of the cloud provider (e.g. Instances, SecurityGroups).
  - `start_date` string, date-time — Start of retention window. Defaults to now minus 90 days.
  - `end_date` string, date-time — End of retention window. Defaults to today.
  - `change_type_filter` string[]
  - `event_ids` string[] — If provided (1-2 IDs), returns attribute details for these events (Mode 2). If absent, returns paginated timeline (Mode 1).
  - `list_context` ListContext
    - `batch_size` integer — Max number of ids in the response
    - `batch_offset` integer — Offset of batches into the results. First batch is 0
    - `total` integer — Total number of results

## Response `200`

Success

- InfraResourceActivityResponse
  - `events` InfraResourceActivityEvent[] — List of activity events.
    - `history_id` string — Unique change event identifier.
    - `changed_at` string, date-time — Timestamp when the change was detected.
    - `change_type` string — Type of change: new, modified, discovered
    - `changed_attributes` object — Post-change attribute values. Present only in Mode 2 (when event_ids are provided). Removed attributes appear as null.
  - `next_list_context` ListContext
    - `batch_size` integer — Max number of ids in the response
    - `batch_offset` integer — Offset of batches into the results. First batch is 0
    - `total` integer — Total number of results

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.dev/corestack/apis/corestack-external-api.md) · [All operations](https://skmtc.dev/corestack/apis/corestack-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corestack/corestack-external-api/revisions/bf2cdf20826d/schema)
