---
title: "GET /arrays/{namespace}/{array}/activity"
method: GET
path: "/arrays/{namespace}/{array}/activity"
tags: ["array"]
---

# GET /arrays/{namespace}/{array}/activity

`GET /arrays/{namespace}/{array}/activity`

## Request

- Base URL: `/v2` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v2/arrays/{namespace}/{array}/activity`
- Auth: one of:
  - HTTP basic
  - API key in header `X-TILEDB-REST-API-KEY`

get array activity logs

## Response `200`

log of array activity

- ArrayActivityLogData: Object including array tasks and metadata
  - `activitylogs` ArrayActivityLog[]: Array ArrayActivityLog
    - `event_at` string, date-time: time event took place (RFC3339)
    - `action` 'read_schema' | 'max_buffer_sizes' | 'non_empty_domain' | 'query_read' | 'query_write' | 'create' | 'delete' | 'register' | 'deregister' | 'udf' | 'array_metadata_get' | 'array_metadata_update' | 'estimated_result_sizes' | 'update' | 'info' | 'run': Type of activity logged
    - `username` string: User who performed action
    - `bytes_sent` integer: Bytes sent to client
    - `bytes_received` integer: Bytes recieved from client
    - `array_task_id` string: uuid of associated array task
    - `id` string: id of the activity
    - `query_ranges` string: ranges for query
    - `query_stats` string: stats for query
  - `pagination_metadata` PaginationMetadata
    - `page` number: pagination offset. Use it to skip the first ((page - 1) * per_page) items
    - `per_page` number: pagination limit (page size)
    - `total_pages` number: number of total pages with current limit
    - `total_items` number: number of total available items

## Other responses

- `502`: Bad Gateway
- `default`: error response

## Changes

- **2023-02-17** (v2) `1dc25429ac96`: 1 info
  - added the non-success response with the status `502`
- **2023-02-17** (v2) `cb4897d3247d`: 1 info
  - removed the non-success response with the status `502`
- **2022-11-03** (v2) `dd919c4fb5a3`: 1 info
  - added the non-success response with the status `502`
- **2022-11-03** (v2) `38cbb9a7a8ed`: 1 info
  - removed the non-success response with the status `502`
- **2022-10-21** (v2) `35603092a7df`: 1 info
  - added the non-success response with the status `502`

[Operation history](https://skmtc.dev/tiledb/apis/tiledb-storage-platform-api/changes/arrays/:namespace/:array/activity/get.md)

---

[API](https://skmtc.dev/tiledb/apis/tiledb-storage-platform-api.md) - [All operations](https://skmtc.dev/tiledb/apis/tiledb-storage-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tiledb/apis/tiledb-storage-platform-api/revisions/f9cbeb4407a5?raw)
