---
title: "Inspect a team's requests, affected patients and record changes"
method: GET
path: "/api/control/teams/{world}/activity"
tags: ["Operator"]
---

# Inspect a team's requests, affected patients and record changes

`GET /api/control/teams/{world}/activity`

## Request

- Base URL: `https://sim.animahealth.com`
- URL: `https://sim.animahealth.com/api/control/teams/{world}/activity`
- Auth: HTTP bearer

Includes successful and failed authenticated team requests. Request timestamps use wall time; record changes and events use simulation time. Retains up to 2,000 requests per world for seven days. Credentials, query strings and request bodies are omitted. Logging starts at deployment; historical requests cannot be reconstructed. Existing team-attributed record changes remain inspectable.

## Path parameters

- `world` string, required

## Response `200`

Success

- OperatorActivity
  - `team` OperatorTeam, required
    - `team` string, required
    - `teamName` string, required
    - `world` string, required
    - `scopes` string[], required
    - `patientCount` integer, required
    - `resourceCount` integer, required
    - `affectedPatientCount` integer, required
    - `requestCount` integer, required
    - `lastRequestAt` string, date-time, nullable, required
  - `requests` OperatorRequest[], required
    - `id` string, required
    - `time` string, date-time, required
    - `method` string, required
    - `path` string, required
    - `status` integer, required
    - `durationMs` number, required
    - `team` string, required
    - `world` string, required
    - `patientIds` string[], required
  - `patients` object[], required
    - `id` string, required
    - `name` string, required
    - `changeCount` integer, required
    - `lastChangedAt` number, required: Simulation Unix timestamp in milliseconds.
  - `changes` OperatorChange[], required
    - `resourceId` string, required
    - `patientId` string
    - `title` string, required
    - `kind` string, required
    - `actor` object, required
      - `kind` 'team' | 'operator' | 'simulation', required
      - `name` string, required
    - `source` string, required
    - `action` string, required
    - `time` number, required: Simulation Unix timestamp in milliseconds.
    - `version` integer, required
  - `events` Event[], required
    - `id` string, required
    - `time` number, required: Simulation Unix timestamp in milliseconds.
    - `type` string, required
    - `actor` string, required
    - `resourceId` string
    - `patientId` string
    - `detail` string, required
    - `visibleTo` string[], required
  - `logging` OperatorLogging, required
    - `since` string, date-time, required
    - `retentionDays` integer, required
    - `maxRequestsPerWorld` integer, required

## Other responses

- `400`: Invalid input or unsupported workflow
- `401`: Missing or invalid credentials
- `403`: Scope, origin or operator restriction
- `404`: Unknown resource
- `409`: Stale version, invalid transition or unavailable capacity
- `413`: Request exceeds this operation's body-size limit
- `429`: Deployment has reached its 5,000-team capacity
- `500`: Internal simulation error

---

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