# listSpaceItemActivity

A folder or file's history, newest first (only the latest 50 events, so an older event's absence proves nothing: created, renamed, moved, edited, shared, trashed, restored, downloaded, attached) with who did it (a person, or an AI agent acting for one).

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "listSpaceItemActivity", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

- `itemId`: `ID!` (required)

## Response (data, an example)

```json
{
  "spacesQuery": {
    "activity": [
      {
        "id": "<ID>",
        "action": "…",
        "actor": {
          "kind": "PERSON",
          "label": "…"
        },
        "detail": "…",
        "createdAt": "2026-01-01T00:00:00.000Z"
      }
    ]
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "listSpaceItemActivity",
    "variables": {
      "itemId": "<itemId>"
    }
  }'
```
