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

# Fetch Note Content with composition_id

> Use composition_id from create as note_id when calling get note content

**Problem:** You need the shared clinical note (including Web SDK edits), not one session recording.

**Solution:** Pass `composition_id` from create as `note_id` to [Get note content](/api-reference/ambient-content/note-content). Wait for generation first ([Poll status](/documentation/cookbooks/wait-for-status-before-retrieve)).

<Note>
  This cookbook assumes you already have your Partner ID, authentication tokens, and the other prerequisites for Ambient APIs.
</Note>

<Tabs>
  <Tab title="CURL">
    ```bash theme={"theme":{"light":"github-dark","dark":"material-theme-darker"}}
    curl --request GET \
      --url "https://sdp.suki.ai/api/v1/ambient/note/<composition_id>/content" \
      --header 'sdp_suki_token: <sdp_suki_token>' \
      --header 'sdp_provider_id: <sdp_provider_id>'
    ```
  </Tab>

  <Tab title="Python">
    ```python theme={"theme":{"light":"github-dark","dark":"material-theme-darker"}}
    import requests

    note_id = composition_id  # from create response
    url = f"https://sdp.suki.ai/api/v1/ambient/note/{note_id}/content"

    response = requests.get(
        url,
        headers={
            "sdp_suki_token": sdp_suki_token,
            "sdp_provider_id": sdp_provider_id,
        },
    )
    response.raise_for_status()
    note = response.json()
    # note["summary"] holds section content for the shared clinical note
    ```
  </Tab>

  <Tab title="TypeScript">
    ```typescript theme={"theme":{"light":"github-dark","dark":"material-theme-darker"}}
    const noteId = compositionId; // from create response

    const response = await fetch(
      `https://sdp.suki.ai/api/v1/ambient/note/${noteId}/content`,
      {
        headers: {
          sdp_suki_token: sdpSukiToken,
          sdp_provider_id: sdpProviderId,
        },
      }
    );

    if (!response.ok) {
      throw new Error(`Get note content failed: ${response.status}`);
    }

    const note = await response.json();
    // note.summary holds section content for the shared clinical note
    ```
  </Tab>
</Tabs>

## Common mistakes

* Do not pass `ambient_session_id` as `note_id`.
* Call content only after status is `completed` (or a success webhook).

## Other cookbooks

<div className="cookbook-hub-wrap">
  <div className="hp-io-method-grid tut-hub-card-grid" data-cookbook-related-grid>
    <a className="hp-io-method-card tut-hub-method-card" href="/documentation/cookbooks/wait-for-status-before-retrieve">
      <div className="tut-hub-card-media tut-hub-card-media--blue" aria-hidden="true" />

      <div className="hp-io-method-card-body">
        <div className="tut-hub-card-badges">
          <span className="hp-wn-badge hp-wn-badge-new">Ambient</span>
          <span className="hp-wn-badge cookbook-hub-badge-surface cookbook-hub-badge-surface--api">API</span>
        </div>

        <h3 className="hp-io-method-card-title">Poll Session Status Before Fetching Content</h3>

        <p className="hp-io-method-card-desc cookbook-hub-card-desc">
          Poll until status is completed.
        </p>

        <div className="hp-io-method-card-meta tut-hub-card-foot" aria-label="5 min">
          <div className="tut-hub-card-foot-meta">
            <span className="hp-io-method-card-meta-time">5 min</span>
          </div>
        </div>
      </div>
    </a>

    <a className="hp-io-method-card tut-hub-method-card" href="/documentation/cookbooks/pass-emr-encounter-id">
      <div className="tut-hub-card-media" aria-hidden="true" />

      <div className="hp-io-method-card-body">
        <div className="tut-hub-card-badges">
          <span className="hp-wn-badge hp-wn-badge-new">Ambient</span>
          <span className="hp-wn-badge cookbook-hub-badge-surface cookbook-hub-badge-surface--api">API</span>
        </div>

        <h3 className="hp-io-method-card-title">Share One Note Across Products</h3>

        <p className="hp-io-method-card-desc cookbook-hub-card-desc">
          Share one note with emr\_encounter\_id.
        </p>

        <div className="hp-io-method-card-meta tut-hub-card-foot" aria-label="5 min">
          <div className="tut-hub-card-foot-meta">
            <span className="hp-io-method-card-meta-time">5 min</span>
          </div>
        </div>
      </div>
    </a>
  </div>
</div>
