> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neariq.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Activity

> Organization activity feed for owner and admin API keys.

Returns the recent organization activity feed for the organization attached to the API key. The endpoint is read-only and requires the `activity:read` scope.

Only organization owners and admins can read this feed. Response details are intentionally limited to safe display fields so the API does not expose emails, phone numbers, access tokens, prompts, generated outputs, embeddings, or raw provider payloads.

<ParamField header="X-NearIQ-Key" type="string" required>
  Your API key from Settings > API Keys
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://app.neariq.io/api/v1/activity?limit=25&action=team" \
    -H "X-NearIQ-Key: niq_your_key_here"
  ```
</RequestExample>

## Query parameters

| Parameter | Type          | Default | Description                                                                                                                                                                                 |
| --------- | ------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `limit`   | integer       | 50      | Number of activity rows to return. Maximum 100.                                                                                                                                             |
| `offset`  | integer       | 0       | Offset for pagination. Maximum 10000.                                                                                                                                                       |
| `action`  | string        | -       | Activity action or group. Supported groups include `api_key`, `content`, `competitor`, `team`, `integrations`, `ads`, `social`, `payments`, `data`, `automation`, `phone_voice`, and `org`. |
| `member`  | uuid          | -       | Filter to a specific actor user id.                                                                                                                                                         |
| `since`   | ISO timestamp | -       | Return activity at or after this timestamp.                                                                                                                                                 |

## Response

```json theme={null}
{
  "activities": [
    {
      "id": "4e52f6d9-337e-478d-bb76-47f43deff114",
      "action": "member_role_changed",
      "actor": {
        "id": "6f4d0d75-c4d9-45da-9e55-4a65f1d4f2f4",
        "name": "Aster Manager"
      },
      "target": {
        "type": "member",
        "id": "9d2bfb64-c5e8-4e2a-9c07-09f2cd720bb4"
      },
      "detail": "Changed a member's role to admin",
      "details": {
        "role": "admin"
      },
      "createdAt": "2026-06-22T16:18:00.000Z"
    }
  ],
  "total": 1,
  "limit": 25,
  "offset": 0
}
```

Use `GET /api/v1/usage` to review API request consumption. Use the signed-in dashboard Team Activity view when you need member emails or full operational context.
