curl -X POST \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer your_api_key" \
    --data '{ "query": "query Transcripts($userId: String) { transcripts(user_id: $userId) { title id } }" }' \
    https://api.fireflies.ai/graphql
{
  "data": {
    "transcripts": [
		{
			"title": "Weekly sync",
			"id": "transcript-id",
		},
		{
			"title": "ClientMeeting.mp3",
			"id": "transcript-id-2",
		}
	]
  }
}

Overview

The transcripts query is designed to fetch a list of transcripts against input arguments.

Arguments

title
String

Title of the transcript

fromDate
DateTime

Return all transcripts created after fromDate.

toDate
DateTime

Return all transcripts created before toDate.

date
Float
This field is deprecated. Please use fromDate and toDate instead.

Return all transcripts created within the date specified. Query input value must be in milliseconds. For example, you can use the JavaScript new Date().getTime() to get the datetime in milliseconds which should look like this 1621292557453. The timezone for this field is UTC +00:00

For more details regarding time since EPOCH

limit
Int

Number of transcripts to return. Maxiumum 50 in one query

skip
Int

Number of transcripts to skip.

host_email
String

Email of transcripts host

participant_email
String

Email of transcripts participant

user_id
String

User id

Schema

Fields available to the Transcript query

Usage Example

query Transcripts(
  $title: String
  $date: DateTime
  $limit: Int
  $skip: Int
  $hostEmail: String
  $participantEmail: String
  $userId: String
) {
  transcripts(
    title: $title
    date: $date
    limit: $limit
    skip: $skip
    host_email: $hostEmail
    participant_email: $participantEmail
    user_id: $userId
  ) {
    id
    sentences {
      index
      speaker_name
      speaker_id
      text
      raw_text
      start_time
      end_time
      ai_filters {
        task
        pricing
        metric
        question
        date_and_time
        text_cleanup
        sentiment
      }
    }
    title
    host_email
    organizer_email
    calendar_id
    user {
      user_id
      email
      name
      num_transcripts
      recent_meeting
      minutes_consumed
      is_admin
      integrations
    }
    fireflies_users
    participants
    date
    transcript_url
    audio_url
    video_url
    duration
    meeting_attendees {
      displayName
      email
      phoneNumber
      name
      location
    }
    summary {
      action_items
      keywords
      outline
      overview
      shorthand_bullet
    }
  }
}

Additional Resources