> ## 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.

# Live Action Items

> Query live action items for a meeting

## Overview

The `live_action_items` query allows you to fetch action items for a live meeting. This includes both action items automatically created by Fireflies during the meeting and action items created via the `createLiveActionItem` mutation.

## Arguments

**meeting\_id** `ID!` *required*

The ID of the meeting to fetch live action items for

## Response

Returns an array of `LiveActionItem` objects with the following fields:

**name** `String`

Name of the person who the action item is associated with

**action\_item** `String!`

The action item text

## Usage Example

To fetch live action items for a meeting:

```graphql theme={null}
query LiveActionItems($meeting_id: ID!) {
  live_action_items(meeting_id: $meeting_id) {
    name
    action_item
  }
}
```

```bash curl theme={null}
curl -X POST https://api.fireflies.ai/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer your_api_key" \
  -d '{
    "query": "query LiveActionItems($meeting_id: ID!) { live_action_items(meeting_id: $meeting_id) { name action_item } }",
    "variables": {
      "meeting_id": "your_meeting_id"
    }
  }'
```

```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 LiveActionItems($meeting_id: ID!) {
    live_action_items(meeting_id: $meeting_id) {
      name
      action_item
    }
  }`,
  variables: {
    meeting_id: 'your_meeting_id'
  }
};

axios
  .post(url, data, { headers: headers })
  .then(result => {
    console.log(result.data);
  })
  .catch(e => {
    console.log(JSON.stringify(e));
  });
```

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

url = 'https://api.fireflies.ai/graphql'

headers = {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer your_api_key'
}

data = {
    'query': '''
      query LiveActionItems($meeting_id: ID!) {
        live_action_items(meeting_id: $meeting_id) {
          name
          action_item
        }
      }
    ''',
    'variables': {
        'meeting_id': 'your_meeting_id'
    }
}

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

if response.status_code == 200:
    print(response.json()['data'])
else:
    print(response.text)
```

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

public class ApiRequest {
    public static void main(String[] args) {
        HttpClient client = HttpClient.newHttpClient();
        String jsonRequest = "{\"query\": \"query LiveActionItems($meeting_id: ID!) { live_action_items(meeting_id: $meeting_id) { name action_item } }\", \"variables\": {\"meeting_id\": \"your_meeting_id\"}}";
        HttpRequest request = HttpRequest.newBuilder()
            .uri(URI.create("https://api.fireflies.ai/graphql"))
            .header("Content-Type", "application/json")
            .header("Authorization", "Bearer your_api_key")
            .POST(BodyPublishers.ofString(jsonRequest))
            .build();

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

```json Response theme={null}
{
  "data": {
    "live_action_items": [
      {
        "name": "John Doe",
        "action_item": "Follow up with the client about the proposal"
      },
      {
        "name": "Jane Smith",
        "action_item": "Arrange a follow-up meeting for next week"
      }
    ]
  }
}
```

## Error Codes

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

> [accordion] object\_not\_found
>
> The meeting with the specified ID was not found or you do not have access to it.

> [accordion] require\_elevated\_privilege
>
> You do not have permission to view action items for this meeting. Only the meeting organizer or team admin can view live action items.

## Audit Trail

A successful call records a [`LIVE_ACTION_ITEMS_VIEWED`](https://docs.fireflies.ai/graphql-api/query/audit-events) audit event for the meeting with the returned item count in metadata.

## Additional Resources

> [card] [Create Live Action Item](https://docs.fireflies.ai/graphql-api/mutation/create-live-action-item.md)
>
> Create action items during a live meeting

> [card] [Update Meeting State](https://docs.fireflies.ai/graphql-api/mutation/update-meeting-state.md)
>
> Pause or resume recording for a live meeting


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