---
title: "Fleet Activity View"
method: GET
path: "/api/fleet/activity"
tags: ["fleet"]
---

# Fleet Activity View

`GET /api/fleet/activity`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/fleet/activity`
- Auth: HTTP bearer

Per-agent activity over a recent window. Polled by the Activity page.

hours must be one of 6, 24, 72 or 168. group limits the agents to names
that start with "<group>-". tzOffsetMinutes (minutes east of UTC) puts
bucket edges on the viewer's local hours and days.

## Query parameters

- `hours` integer
- `group` string, nullable
- `tzOffsetMinutes` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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