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

# Granola API

> Granola API documentation. Programmatic access to meeting notes, transcripts, and AI summaries.

The Granola API provides programmatic access to your workspace's meeting notes and related data. This RESTful API enables you to integrate Granola with your existing tools, build custom workflows, and extract insights from your meeting documentation.

## API key access scopes

API keys can include one or more access scopes. Any workspace member on a Business plan can create API keys. On Enterprise plans, workspace admins choose which access scopes members can use in **Settings → Workspace → General → API access for members**.

| Access scope       | What can it access                                                                                                      |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------- |
| **Personal notes** | <ul><li>Notes you own</li><li>Notes directly shared with you</li><li>Notes in private folders shared with you</li></ul> |
| **Public notes**   | <ul><li>Notes visible to everyone in the workspace</li><li>Notes in the Team space</li></ul>                            |

## Obtaining an API Key

1. Open the Granola desktop app
2. Navigate to **Settings → Connectors → API keys**
3. Click **Create new key**
4. Choose the note access scopes the key should include
5. Click **Generate API Key**

<Note>
  On Enterprise plans, API key access scopes must be enabled by a workspace admin in **Settings → Workspace → General → API access for members**.
</Note>

## Revoking an API Key

To revoke an API key:

1. Go to **Settings → Connectors → API keys**
2. Find the key you want to revoke and click **Revoke**
3. Confirm in the dialog

Once revoked, the key is permanently disabled and moves to the **Revoked** section of the table. This cannot be undone.

## Updating an API Key

To update an API key's access scopes:

1. Go to **Settings → Connectors → API keys**
2. Find the key you want to update and click **Edit**
3. Choose the note access scopes the key should include
4. Click **Save changes**

## Quick Start

```bash theme={null}
# List notes created this week
$ curl "https://public-api.granola.ai/v1/notes?created_after=$(date -u -v-7d +%Y-%m-%dT%H:%M:%SZ)" \
  -H "Authorization: Bearer grn_YOUR_API_KEY"
{
  "notes": [ ... ],
  "hasMore": true,
  "cursor": "eyJjcmVkZW50aWFsfQ=="
}

# Get the next page using the cursor
$ curl "https://public-api.granola.ai/v1/notes?created_after=$(date -u -v-7d +%Y-%m-%dT%H:%M:%SZ)&cursor=eyJjcmVkZW50aWFsfQ==" \
  -H "Authorization: Bearer grn_YOUR_API_KEY"
{
  "notes": [
    { "id": "not_1d3tmYTlCICgjy", "title": "Quarterly yoghurt budget review", ... },
    ...
  ],
  "hasMore": false
}

# Get that note with its transcript
# (use the not_ ID from the list response, not a UUID)
$ curl "https://public-api.granola.ai/v1/notes/not_1d3tmYTlCICgjy?include=transcript" \
  -H "Authorization: Bearer grn_YOUR_API_KEY"
{
  "id": "not_1d3tmYTlCICgjy",
  "title": "Quarterly yoghurt budget review",
  "owner": { "name": "Oat Benson", "email": "oat@granola.ai" },
  "summary": "The quarterly yoghurt budget review was a success. ...",
  "transcript": [
    { "speaker": { "source": "microphone" }, "text": "I'm done pretending. Greek is the only yoghurt that deserves us." },
    { "speaker": { "source": "speaker" }, "text": "Finally. Regular yoghurt is just milk that gave up halfway." }
  ],
  ...
}
```

<Info>
  This transcript example is from macOS. On macOS, transcript items can come
  from the local microphone or from other meeting audio, so you'll see
  `speaker.source = "microphone"` and `speaker.source = "speaker"`.
</Info>

For iOS transcripts, the shape is slightly different:

```json theme={null}
[
  {
    "speaker": { "source": "microphone", "diarization_label": "Speaker A" },
    "text": "I'm done pretending. Greek is the only yoghurt that deserves us."
  },
  {
    "speaker": { "source": "microphone", "diarization_label": "Speaker B" },
    "text": "Finally. Regular yoghurt is just milk that gave up halfway."
  }
]
```

<Info>
  On iOS, Granola currently returns `speaker.source = "microphone"` because the
  app currently captures a single audio stream. Clients should not assume that
  will never expand in the future. When diarization is available,
  `diarization_label` carries the anonymous `Speaker A/B/...` bucket.
</Info>

<Info>
  The API only returns notes that have a **generated AI summary and transcript**. Notes that are still being processed or were never summarized won't appear in responses — the List Notes endpoint excludes them, and the Get Note endpoint returns a 404.
</Info>

## Rate Limits

Rate limits are applied per user or workspace, depending on the key's access scope, to ensure fair usage and platform stability.

| Metric         | Value                          |
| -------------- | ------------------------------ |
| Burst capacity | 25 requests                    |
| Time window    | 5 seconds                      |
| Sustained rate | 5 requests/second (300/minute) |

When rate limits are exceeded, the API returns a `429 Too Many Requests` response.
