Overview
The askfred_threads query retrieves a summary of all AskFred conversation threads belonging to the authenticated user. This query provides a lightweight overview of threads without including the full message history, making it ideal for listing and browsing conversations.
Arguments
Filter threads to only those associated with a specific transcript ID
Schema
Fields available to the AskFredThreadSummary query:
id: Unique identifier for the thread
title: Thread title (typically derived from the first question)
transcript_id: Associated transcript/meeting ID (if applicable)
user_id: ID of the user who created the thread
created_at: Timestamp when the thread was created
Usage Example
query GetAskFredThreads {
askfred_threads {
id
title
transcript_id
user_id
created_at
}
}
With Filter
query GetFilteredThreads($transcriptId: String) {
askfred_threads(transcript_id: $transcriptId) {
id
title
transcript_id
user_id
created_at
}
}
curl -X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your_api_key" \
-d '{
"query": "query { askfred_threads { id title transcript_id user_id created_at } }"
}' \
https://api.fireflies.ai/graphql
{
"data": {
"askfred_threads": [
{
"id": "thread_abc123",
"title": "What were the action items from the Q4 planning meeting?",
"transcript_id": "transcript_xyz789",
"user_id": "user_123",
"created_at": "2024-03-15T10:30:00Z"
},
{
"id": "thread_def456",
"title": "Summary of customer feedback discussions",
"transcript_id": null,
"user_id": "user_123",
"created_at": "2024-03-14T14:20:00Z"
}
]
}
}