Overview
The createBite
mutation allows you to create a bite through the API.
Arguments
Name of the biteMaximum length is 256 characters.
Start time of the bite in seconds
End time of the bite in seconds
Type of the bite, either ‘video’ or ‘audio’
Array specifying the visibility of the Soundbite. Possible values are ‘public’, ‘team’, and
‘participants’. For example, [“team”, “participants”] indicates visibility to both team members
and participants, while [“public”] denotes full public access.
Summary for the biteMaximum length is 500 characters.
Usage Example
To create a bite, provide the necessary input parameters to the mutation. Here’s an example of how this mutation could be used:
mutation Mutation($transcriptId: ID!, $startTime: Float!, $endTime: Float!) {
createBite(transcript_id: $transcriptId, start_time: $startTime, end_time: $endTime) {
status
name
id
}
}
curl -X POST https://api.fireflies.ai/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your_api_key" \
-d '{
"query": "mutation CreateBite($transcriptId: ID!, $startTime: Float!, $endTime: Float!) { createBite(transcript_id: $transcriptId, start_time: $startTime, end_time: $endTime) { summary status id } }",
"variables": {
"transcriptId": "your_transcript_id",
"startTime": 0,
"endTime": 5
}
}'
{
"data": {
"createBite": {
"name": "bite-name",
"status": "pending",
}
}
}
Additional Resources