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

# Audit Events (Beta)

> Query OCSF-compliant audit events for your team — meetings, teammates, and settings changes

## Overview

The `auditEvents` query retrieves audit events for your team. Events follow the [OCSF v1.5.0](https://schema.ocsf.io/) standard and cover meeting operations, team operations, user settings changes, and authentication (login/logout) events.

> [!NOTE]
>
> This query requires an **Enterprise** plan and the requesting user must be a **team admin**. See [pricing](https://fireflies.ai/pricing) for more details.

## Supported Events

| Action | Category | Description |
| - | - | - |
| `MEETING_DELETED` | Meeting Operations | A meeting was deleted |
| `MEETING_PRIVACY_UPDATED` | Meeting Operations | Meeting privacy setting was changed |
| `MEETING_VIEWED` | Meeting Operations | A meeting summary was viewed |
| `MEETING_SHARED` | Meeting Operations | A meeting was shared with someone |
| `MEETING_ACCESS_REVOKED` | Meeting Operations | A user's access to a shared meeting was revoked |
| `MEETING_DOWNLOADED` | Meeting Operations | A meeting transcript or recording was downloaded |
| `MEETING_TITLE_UPDATED` | Meeting Operations | A meeting's title was changed |
| `MEETING_MOVED_TO_CHANNEL` | Meeting Operations | One or more meetings were moved to a channel |
| `SOUNDBITE_CREATED` | Meeting Operations | A soundbite was created from a meeting |
| `ASKFRED_THREAD_CREATED` | Meeting Operations | An AskFred thread was created |
| `ASKFRED_THREAD_CONTINUED` | Meeting Operations | An AskFred thread was continued |
| `ASKFRED_THREAD_DELETED` | Meeting Operations | An AskFred thread was deleted |
| `ASKFRED_THREADS_LISTED` | Meeting Operations | AskFred threads were listed |
| `ASKFRED_THREAD_VIEWED` | Meeting Operations | An AskFred thread was viewed |
| `MEETING_STATE_UPDATED` | Meeting Operations | Meeting recording state was changed |
| `LIVE_ACTION_ITEM_CREATED` | Meeting Operations | A live action item was created |
| `LIVE_ACTION_ITEMS_VIEWED` | Meeting Operations | Live action items were viewed |
| `LIVE_SOUNDBITE_CREATED` | Meeting Operations | A live soundbite was created |
| `MEETING_UPLOAD_CREATED` | Meeting Operations | An upload URL was created for a new meeting recording |
| `MEETING_UPLOAD_CONFIRMED` | Meeting Operations | A meeting recording upload was confirmed and sent for processing |
| `LIVE_MEETING_BOT_REQUESTED` | Meeting Operations | A bot was requested to join a live meeting |
| `MEETING_AUDIO_UPLOADED` | Meeting Operations | Audio was uploaded for transcription |
| `RULE_EXECUTIONS_VIEWED` | Team Operations | Rule executions were viewed |
| `APP_OUTPUTS_VIEWED` | Meeting Operations | App outputs were viewed |
| `CONTACTS_LISTED` | User Operations | Contacts were listed |
| `ANALYTICS_VIEWED` | Team Operations | Team analytics were viewed |
| `CHANNELS_LISTED` | Meeting Operations | Channels were listed |
| `CHANNEL_VIEWED` | Meeting Operations | A channel was viewed |
| `SOUNDBITES_LISTED` | Meeting Operations | Soundbites were listed |
| `SOUNDBITE_VIEWED` | Meeting Operations | A soundbite was viewed |
| `TEAMMATE_ADDED` | Team Operations | A teammate was added to the team |
| `TEAMMATE_REMOVED` | Team Operations | A teammate was removed from the team |
| `USER_ROLE_CHANGED` | User Operations | A teammate's role was changed |
| `USERS_LISTED` | User Operations | Users on a team were listed |
| `USER_VIEWED` | User Operations | A user profile was viewed |
| `USER_GROUPS_LISTED` | Team Operations | User groups were listed |
| `USER_GROUP_MEMBER_ADDED` | Team Operations | A teammate was added to a user group |
| `USER_GROUP_MEMBER_REMOVED` | Team Operations | A teammate was removed from a user group |
| `TRANSCRIPTS_LISTED` | Meeting Operations | Transcripts were listed |
| `ACTIVE_MEETINGS_LISTED` | Meeting Operations | Active meetings were listed |
| `MEETING_AUDIO_ACCESSED` | Meeting Operations | A meeting audio URL was accessed |
| `MEETING_VIDEO_ACCESSED` | Meeting Operations | A meeting video URL was accessed |
| `SETTINGS_UPDATED` | User Operations | Team settings were updated |
| `LOGIN` | Authentication | A user logged in |
| `LOGOUT` | Authentication | A user logged out |

## Arguments

**limit** `Int` (default: 20)

Maximum number of events to return. Must be between 1 and 50.

**cursor** `String`

Pagination cursor for fetching the next page of results. Use the `next_cursor` value from a
previous response.

**filters** `AuditEventFiltersInput` *required*

Filters for the query. The `category` field is required.

**Filter properties**

**category** `AuditEventCategory` *required*

Event category (required): `MEETING_OPERATIONS`, `TEAM_OPERATIONS`, `USER_OPERATIONS`, or `AUTHENTICATION`.

**action** `AuditEventAction`

Filter by a specific action (e.g., `MEETING_DELETED`, `TEAMMATE_ADDED`).

**date\_from** `String`

Filter events from this date (ISO 8601 format).

**date\_to** `String`

Filter events up to this date (ISO 8601 format).

**actor\_user\_id** `String`

Filter by the user ID of the user who performed the action.

**actor\_email** `String`

Filter by the email of the user who performed the action. Resolved to a user ID server-side. Takes precedence over `actor_user_id` if both are provided.

## Response Fields

**events** `[AuditEvent]`

List of audit events matching the query.

**Event properties**

**id** `String`

Unique identifier for the event.

**time** `String`

When the event occurred (ISO 8601 format).

**category** `AuditEventCategory`

Event category: `MEETING_OPERATIONS`, `TEAM_OPERATIONS`, `USER_OPERATIONS`, or `AUTHENTICATION`.

**action** `AuditEventAction`

The specific action that occurred (e.g., `MEETING_DELETED`).

**severity** `String`

Event severity level: `informational`, `low`, `medium`, `high`, `critical`, `fatal`.

**status** `String`

Event outcome: `success` or `failure`.

**message** `String`

Human-readable description of the event.

**class\_uid** `Int`

OCSF class UID for compliance mapping.

**activity\_id** `Int`

OCSF activity ID for compliance mapping.

**type\_uid** `Int`

OCSF type UID (`class_uid * 100 + activity_id`).

**actor** `AuditEventActor`

The user who performed the action.

**Actor properties**

**user\_id** `String`

User ID of the actor.

**email** `String`

Email address of the actor.

**full\_name** `String`

Full name of the actor.

**ip\_address** `String`

IP address from which the action was performed.

**resource** `AuditEventResource`

The resource that was affected.

**Resource properties**

**type** `String`

Resource type: `meeting`, `team`, `user`, `askfred_thread`, or `channel`.

**id** `String`

Resource identifier (meeting ID, team ID, user ID, AskFred thread ID, or channel ID).

**metadata** `String`

Additional context as a JSON string of key-value pairs, or `null` when the action carries none.

Which keys appear depends on the action. Keys are `snake_case`. Events written by the Public API and MCP use:

| Action | Keys |
| - | - |
| `MEETING_DELETED` | `delete_mode` |
| `MEETING_PRIVACY_UPDATED` | `privacy`, `old_privacy`, `new_privacy` |
| `MEETING_SHARED` | `invitee_count` |
| `MEETING_MOVED_TO_CHANNEL` | `channel_id`, `meeting_count` |
| `SOUNDBITE_CREATED` | `bite_id` |
| `ASKFRED_THREAD_CREATED` | `meeting_id`, `message_id` |
| `ASKFRED_THREAD_CONTINUED` | `meeting_id`, `message_id` |
| `ASKFRED_THREADS_LISTED` | `meeting_id`, `thread_count` |
| `ASKFRED_THREAD_VIEWED` | `message_count` |
| `MEETING_STATE_UPDATED` | `recording_action` |
| `LIVE_ACTION_ITEMS_VIEWED` | `item_count` |
| `MEETING_UPLOAD_CREATED` | `content_type`, `file_size` |
| `LIVE_MEETING_BOT_REQUESTED` | `duration` |
| `MEETING_AUDIO_UPLOADED` | `client_reference_id` |
| `RULE_EXECUTIONS_VIEWED` | `meeting_id`, `meeting_count` |
| `APP_OUTPUTS_VIEWED` | `app_id`, `output_count` |
| `CONTACTS_LISTED` | `contact_count` |
| `ANALYTICS_VIEWED` | `start_time`, `end_time`, `user_count` (the teammates the read covered, not the user rows returned) |
| `CHANNELS_LISTED` | `channel_count` |
| `SOUNDBITES_LISTED` | `bite_count`, `level` |
| `SOUNDBITE_VIEWED` | `bite_id` |
| `USER_ROLE_CHANGED` | `role` |
| `USERS_LISTED` | `user_count` |
| `USER_GROUPS_LISTED` | `group_count`, `level` |
| `USER_GROUP_MEMBER_ADDED` | `group_id` |
| `USER_GROUP_MEMBER_REMOVED` | `group_id` |
| `TRANSCRIPTS_LISTED` | `transcript_count`, `level`, `queried_user_id` |
| `ACTIVE_MEETINGS_LISTED` | `meeting_count`, `queried_user_id` |

Moving several meetings at once records one event per meeting, each carrying the same
`meeting_count` — the size of the batch the action moved, not a per-event count. Group
such events by `time` and `actor` to reconstruct a single bulk operation.

On `MEETING_DELETED`, `delete_mode` is `deleted` when the meeting was deleted for everyone,
or `removed` when a co-owner only removed it from their own account and the other owners
keep it.

`source` identifies where the action came from: `api` (Public API), `mcp` (MCP server),
`web` (Fireflies web app), or `fireflies_support` (action taken by Fireflies support).
It is omitted when the surface can't be identified. Actions recorded by other Fireflies
services may carry their own keys. Treat the object as open:
new keys can be added for an action without notice, so read the keys you need rather than
assuming an exact shape.

`token_type` records how the actor authenticated: `api_key` (personal API key), `oauth`
(an authorized OAuth/MCP client), or `service` (a Fireflies service acting on the user's
behalf). When it is `api_key`, `api_key_id` carries the identifier of the key that performed
the action (never the key value), so admins can attribute activity to a specific key and
correlate it with key creation/reset events. Both are omitted when the surface can't be
identified.

**has\_more** `Boolean`

Indicates if there are more results available.

**next\_cursor** `String`

Cursor to use for fetching the next page of results.

## Usage Example

```graphql theme={null}
query AuditEvents($limit: Int, $filters: AuditEventFiltersInput!) {
  auditEvents(limit: $limit, filters: $filters) {
    events {
      id
      time
      category
      action
      severity
      status
      message
      actor {
        user_id
        email
        full_name
        ip_address
      }
      resource {
        type
        id
      }
      metadata
    }
    has_more
    next_cursor
  }
}
```

```bash curl theme={null}
curl -X POST \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer your_api_key" \
    --data '{ "query": "query { auditEvents(limit: 10, filters: { category: MEETING_OPERATIONS }) { events { id time action actor { user_id } resource { type id } } has_more next_cursor } }" }' \
    https://api.fireflies.ai/graphql
```

```javascript javascript theme={null}
const axios = require('axios');

const url = 'https://api.fireflies.ai/graphql';
const headers = {
  'Content-Type': 'application/json',
  Authorization: 'Bearer your_api_key',
};

const data = {
  query: `query AuditEvents($limit: Int, $filters: AuditEventFiltersInput) {
    auditEvents(limit: $limit, filters: $filters) {
      events {
        id
        time
        category
        action
        message
        actor { user_id email }
        resource { type id }
      }
      has_more
      next_cursor
    }
  }`,
  variables: {
    limit: 10,
    filters: { category: 'MEETING_OPERATIONS' },
  },
};

axios
  .post(url, data, { headers: headers })
  .then((response) => {
    console.log(response.data);
  })
  .catch((error) => {
    console.error(error);
  });
```

```python python theme={null}
import requests

url = 'https://api.fireflies.ai/graphql'
headers = {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer your_api_key'
}

query = '''
query AuditEvents($limit: Int, $filters: AuditEventFiltersInput) {
  auditEvents(limit: $limit, filters: $filters) {
    events {
      id
      time
      category
      action
      message
      actor { user_id email }
      resource { type id }
    }
    has_more
    next_cursor
  }
}
'''

data = {
    'query': query,
    'variables': {
        'limit': 10,
        'filters': { 'category': 'MEETING_OPERATIONS' }
    }
}

response = requests.post(url, headers=headers, json=data)
print(response.json())
```

```java java theme={null}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

public class ApiRequest {
    public static void main(String[] args) throws Exception {
        HttpClient client = HttpClient.newHttpClient();
        String json = "{\"query\":\"query { auditEvents(limit: 10, filters: { category: MEETING_OPERATIONS }) { events { id time action actor { user_id } resource { type id } } has_more next_cursor } }\"}";
        HttpRequest request = HttpRequest.newBuilder()
                .uri(URI.create("https://api.fireflies.ai/graphql"))
                .header("Content-Type", "application/json")
                .header("Authorization", "Bearer your_api_key")
                .POST(HttpRequest.BodyPublishers.ofString(json))
                .build();

        client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
            .thenApply(HttpResponse::body)
            .thenAccept(System.out::println)
            .join();
    }
}
```

```json Response theme={null}
{
  "data": {
    "auditEvents": {
      "events": [
        {
          "id": "682e3a1b-f4c2-4d9a-b1e7-8c5d3f2a1b0c",
          "time": "2026-04-25T10:30:00.000Z",
          "category": "MEETING_OPERATIONS",
          "action": "MEETING_SHARED",
          "severity": "informational",
          "status": "success",
          "message": "share_meeting by alice@example.com",
          "actor": {
            "user_id": "user_abc123",
            "email": "alice@example.com",
            "full_name": "Alice Johnson",
            "ip_address": "192.168.1.1"
          },
          "resource": {
            "type": "meeting",
            "id": "01K8DV541XM97WMGRCX66TPSWG"
          },
          "metadata": "{\"invitee_count\":\"2\",\"source\":\"api\"}"
        },
        {
          "id": "7a1c4d5e-2b3f-4a8c-9d0e-1f2a3b4c5d6e",
          "time": "2026-04-25T09:15:00.000Z",
          "category": "MEETING_OPERATIONS",
          "action": "MEETING_DELETED",
          "severity": "informational",
          "status": "success",
          "message": "delete_meeting by bob@example.com",
          "actor": {
            "user_id": "user_def456",
            "email": "bob@example.com",
            "full_name": "Bob Smith",
            "ip_address": null
          },
          "resource": {
            "type": "meeting",
            "id": "01L2XY789ABC"
          },
          "metadata": null
        }
      ],
      "has_more": true,
      "next_cursor": "eyJpZCI6IjdhMWM0ZDVlIn0="
    }
  }
}
```

## Pagination

Use cursor-based pagination to fetch additional results:

```graphql theme={null}
query {
  auditEvents(limit: 20, cursor: "eyJpZCI6IjdhMWM0ZDVlIn0=", filters: { category: MEETING_OPERATIONS }) {
    events {
      id
      time
      action
    }
    has_more
    next_cursor
  }
}
```

## OCSF Compliance

All events conform to the [OCSF v1.5.0](https://schema.ocsf.io/) standard. The `class_uid`, `activity_id`, and `type_uid` fields map directly to OCSF event classification, enabling integration with SIEM tools and compliance pipelines.

| Action | OCSF Class | class\_uid | activity\_id |
| - | - | - | - |
| `MEETING_DELETED` | API Activity | 6003 | 4 |
| `MEETING_PRIVACY_UPDATED` | Entity Management | 3004 | 3 |
| `MEETING_VIEWED` | Web Resource Activity | 6001 | 2 |
| `MEETING_SHARED` | User Access Management | 3005 | 1 |
| `MEETING_DOWNLOADED` | Web Resource Activity | 6001 | 7 |
| `TEAMMATE_ADDED` | User Access Management | 3005 | 1 |
| `TEAMMATE_REMOVED` | User Access Management | 3005 | 2 |
| `SETTINGS_UPDATED` | Entity Management | 3004 | 3 |
| `LOGIN` | Authentication | 3002 | 1 |
| `LOGOUT` | Authentication | 3002 | 2 |

## Error Codes

List of possible error codes that may be returned by the `auditEvents` query. Full list of error codes can be found [here](https://docs.fireflies.ai/miscellaneous/error-codes.md).

> [accordion] paid\_required (enterprise)
>
> You need to be on an Enterprise plan to query audit events.

> [accordion] require\_elevated\_privilege
>
> You need to be a team admin to query audit events.

> [accordion] service\_unavailable
>
> The audit service is temporarily unavailable. Please try again later.

## Additional Resources

> [card] [Transcripts](https://docs.fireflies.ai/graphql-api/query/transcripts.md)
>
> Querying list of transcripts

> [card] [Rule Executions](https://docs.fireflies.ai/graphql-api/query/rule-executions-by-meeting.md)
>
> Querying automation rule executions


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.