Skip to main content

Overview

The continueAskFredThread mutation allows you to add follow-up questions to an existing AskFred conversation thread. This maintains the context of previous questions and answers, enabling more sophisticated multi-turn conversations about your meeting data.

Arguments

input
ContinueAskFredThreadInput

Returns

Returns an AskFredResponse object containing the generated message with the answer to your follow-up query.

Usage Example

mutation ContinueThread($input: ContinueAskFredThreadInput!) {
  continueAskFredThread(input: $input) {
    message {
      id
      thread_id
      query
      answer
      suggested_queries
      status
      created_at
    }
  }
}
curl -X POST \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer your_api_key" \
  -d '{
    "query": "mutation ContinueThread($input: ContinueAskFredThreadInput!) { continueAskFredThread(input: $input) { message { id thread_id query answer suggested_queries status } } }",
    "variables": {
      "input": {
        "thread_id": "thread_abc123",
        "query": "Can you provide more details about the budget allocation?",
        "response_language": "en",
        "format_mode": "markdown"
      }
    }
  }' \
  https://api.fireflies.ai/graphql
{
  "data": {
    "continueAskFredThread": {
      "message": {
        "id": "msg_003",
        "thread_id": "thread_abc123",
        "query": "Can you provide more details about the budget allocation?",
        "answer": "Certainly! Here are the detailed budget allocations discussed in the meeting:\n\n## Q4 Budget Breakdown ($150K Total)\n\n### Engineering (60% - $90K)\n- **Infrastructure Improvements**: $30K\n  - Cloud services optimization\n  - Database scaling\n  - Security enhancements\n- **Feature Development**: $45K\n  - Mobile app features: $25K\n  - API v2 development: $20K\n- **Technical Debt**: $15K\n  - Code refactoring\n  - Legacy system migration\n\n### Design & UX (25% - $37.5K)\n- **User Research**: $10K\n- **Design System Updates**: $15K\n- **Prototype Development**: $12.5K\n\n### Marketing & Growth (15% - $22.5K)\n- **Content Creation**: $7.5K\n- **Paid Acquisition Tests**: $10K\n- **Partnership Development**: $5K\n\nThe CFO emphasized maintaining a 10% contingency within each category for unexpected costs.",
        "suggested_queries": [
          "Who is responsible for managing each budget category?",
          "What are the key milestones for the infrastructure improvements?",
          "How will the budget be tracked and reported?"
        ],
        "status": "completed",
        "created_at": "2024-03-15T10:35:00Z"
      }
    }
  }
}

Error Codes

The specified thread_id does not exist or you don’t have access to it

You have insufficient AI credits to continue the thread. Please upgrade your plan or purchase additional credits.

The language code you provided is invalid. Please refer to the Language Codes page for a list of valid language codes.