curl -X POST \
	-H "Content-Type: application/json" \
	-H "Authorization: Bearer your_api_key" \
	--data '{ "query": "query Bites($mine: Boolean) { bites(mine: $mine) { user_id name end_time } }", "variables": { "mine": true } }' \
	https://api.fireflies.ai/graphql
{
  "data": {
    "bites": [
		{
			"user_id": "user-id",
			"id": "bite-id",
    	},
		{
			"user_id": "user-id",
			"id": "bite-id-2",
    	}
	]	
  }
}

Overview

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

Arguments

mine
Boolean
required

The mine parameter, when set to true, fetches results specific to the owner of the API key

transcript_id
ID

You can use transcript_id to query all bites against a specific transcript.

my_team
Boolean

The my_team parameter, when set to true, fetches results for the owner of the API key

limit
Int

Maximum number of bites to fetch in a single query. Maximum of 50

skip
Int

Number of records to skip over. Helps paginate results when used in combination with the limit param.

Schema

Fields available to the Bites query

Usage Example

query Bites($mine: Boolean) {
  bites(mine: $mine) {
    transcript_id
    name
    id
    thumbnail
    preview
    status
    summary
    user_id
    start_time
    end_time
    summary_status
    media_type
    created_at
    created_from {
      description
      duration
      id
      name
      type
    }
    captions {
      end_time
      index
      speaker_id
      speaker_name
      start_time
      text
    }
    sources {
      src
      type
    }
    privacies
    user {
      first_name
      last_name
      picture
      name
      id
    }
  }
}

Additional Resources