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

# meetingSessionSummary()

> Returns a summary of the current or most recently ended meeting session.

`meetingSessionSummary()`

<Badge color="green">{"✓"} Prebuilt</Badge> <Badge color="green">{"✓"} Custom</Badge>

Currently, this method simply returns the session's id. Future goals may include returning information like the total number of unique participants seen in the session or the session's start time and end timestamps.

This method is synchronous — it does not return a Promise. Use it instead of the deprecated [`getMeetingSession()`](/reference/daily-js/instance-methods/get-meeting-session).

## Return value

Returns `DailyMeetingSessionSummary`:

<ResponseField name="id" type="string">
  The unique ID of the meeting session. This ID is stable for the lifetime of the session and can be used for post-call lookups via the REST API — for example, to retrieve [logs](/reference/rest-api/logs/list-logs) or [transcripts](/reference/rest-api/transcripts/list-transcripts) associated with the session or find it in your dashboard.
</ResponseField>

## Example

```javascript theme={null}
const { id } = call.meetingSessionSummary();
console.log('Session ID:', id);

// Use the session ID after the call ends to fetch transcripts
const res = await fetch(`https://api.daily.co/v1/transcripts?mtgSessionId=${id}`, {
  headers: { Authorization: `Bearer ${DAILY_API_KEY}` },
});
```

## See also

<CardGroup>
  <Card title="Methods" icon="code" iconType="solid">
    * [meetingSessionState()](/reference/daily-js/instance-methods/meeting-session-state)
    * [setMeetingSessionData()](/reference/daily-js/instance-methods/set-meeting-session-data)
  </Card>

  <Card title="Events" icon="bolt" iconType="solid">
    * [meeting-session-summary-updated](/reference/daily-js/events/messaging-events#meeting-session-summary-updated)
  </Card>

  <Card title="REST API" icon="server" iconType="solid">
    * [List logs](/reference/rest-api/logs/list-logs)
    * [List transcripts](/reference/rest-api/transcripts/list-transcripts)
  </Card>
</CardGroup>
