Skip to main content

Overview

The ruleExecutionsByMeeting query retrieves rule execution logs grouped by meeting. This allows you to see which automation rules were triggered for each meeting and what actions were taken.
This query requires an Enterprise plan. See pricing for more details.

Arguments

limit
Int
default:"10"
Maximum number of meeting groups 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.
logs_per_meeting
Int
default:"5"
Maximum number of execution logs to return per meeting. Must be between 1 and 20.
filters
RuleExecutionFiltersInput
Optional filters to narrow down the results.

Response Fields

meetings
[RuleExecutionMeetingGroup]
List of meeting groups with their rule executions.
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

query RuleExecutionsByMeeting($limit: Int, $filters: RuleExecutionFiltersInput) {
  ruleExecutionsByMeeting(limit: $limit, filters: $filters) {
    meetings {
      meeting_id
      meeting {
        id
        title
        organizer_email
      }
      executions {
        extension_id
        extension_title
        stopped_at
        user_name
        share {
          group_ids
        }
        channel {
          channel_id
        }
        meeting_privacy {
          privacy
        }
      }
    }
    has_more
    next_cursor
  }
}
curl -X POST \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer your_api_key" \
    --data '{ "query": "query { ruleExecutionsByMeeting(limit: 5, filters: { is_test: false }) { meetings { meeting_id meeting { title } executions { extension_title stopped_at } } has_more next_cursor } }" }' \
    https://api.fireflies.ai/graphql
{
  "data": {
    "ruleExecutionsByMeeting": {
      "meetings": [
        {
          "meeting_id": "01K8DV541XM97WMGRCX66TPSWG",
          "meeting": {
            "title": "Weekly Team Sync"
          },
          "executions": [
            {
              "extension_title": "Auto-share with Sales Team",
              "stopped_at": "2024-01-15T14:30:00.000Z"
            },
            {
              "extension_title": "Route to #meetings channel",
              "stopped_at": "2024-01-15T14:30:01.000Z"
            }
          ]
        }
      ],
      "has_more": true,
      "next_cursor": "1705329001000_01K8DV541XM97WMGRCX66TPSWG"
    }
  }
}

Pagination

Use cursor-based pagination to fetch additional results:
query {
  ruleExecutionsByMeeting(limit: 10, cursor: "1705329001000_01K8DV541XM97WMGRCX66TPSWG") {
    meetings {
      meeting_id
    }
    has_more
    next_cursor
  }
}

Error Codes

List of possible error codes that may be returned by the ruleExecutionsByMeeting query. Full list of error codes can be found here.

The rules service is temporarily unavailable. Please try again later.

Additional Resources