Skip to content

Instantly share code, notes, and snippets.

@kamilio
Last active July 14, 2026 17:48
Show Gist options
  • Select an option

  • Save kamilio/d04e70f40a21d81eb0f4670a7200cd03 to your computer and use it in GitHub Desktop.

Select an option

Save kamilio/d04e70f40a21d81eb0f4670a7200cd03 to your computer and use it in GitHub Desktop.
Muse Spark 1.1 Responses API: today headlines via Vercel AI Gateway vs Meta 1P, forced high reasoning
const response = await fetch("https://ai-gateway.vercel.sh/v1/responses", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.VERCEL_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "meta/muse-spark-1.1",
input: "What are today's headlines?",
reasoning: { effort: "high", summary: "detailed" },
tools: [{ type: "web_search" }],
}),
});
console.log(response.status);
console.log(await response.text());
@kamilio

kamilio commented Jul 14, 2026

Copy link
Copy Markdown
Author

Meta 1P response

{
  "top_logprobs": 0,
  "temperature": 1.0,
  "top_p": 1.0,
  "service_tier": "auto",
  "model": "muse-spark-1.1",
  "reasoning": {
    "effort": "high",
    "summary": "detailed"
  },
  "background": false,
  "tools": [
    {
      "type": "web_search"
    }
  ],
  "tool_choice": "auto",
  "truncation": "disabled",
  "id": "resp_6a567614581259d3bb844c9d",
  "object": "response",
  "status": "completed",
  "created_at": 1784051220.0,
  "completed_at": 1784051244.0,
  "error": null,
  "incomplete_details": null,
  "output": [
    {
      "type": "reasoning",
      "id": "rs_6a567614581259d3bb844c9d:rs_94892fff2892b5c5",
      "summary": []
    },
    {
      "type": "message",
      "id": "rs_aad0c86930047e82",
      "role": "assistant",
      "content": [
        {
          "type": "output_text",
          "text": "Today’s top stories are breaking worldwide — I’ll pull together the latest headlines for you.",
          "annotations": [],
          "logprobs": []
        }
      ],
      "phase": "commentary",
      "status": "completed"
    },
    {
      "type": "web_search_call",
      "id": "ws_call_97f63f37973942d6",
      "status": "completed",
      "action": {
        "type": "search",
        "query": "top news headlines today"
      }
    },
    {
      "type": "web_search_call",
      "id": "ws_call_91facadaa566877d",
      "status": "completed",
      "action": {
        "type": "search",
        "query": "breaking news today July 14 2026"
      }
    },
    {
      "type": "web_search_call",
      "id": "ws_call_a77c70e1b43f9c6b",
      "status": "completed",
      "action": {
        "type": "search",
        "query": "world headlines today"
      }
    },
    {
      "type": "web_search_call",
      "id": "ws_call_825f1cfaeb89305d",
      "status": "completed",
      "action": {
        "type": "search",
        "query": "top headlines July 14 2026 news"
      }
    },
    {
      "type": "reasoning",
      "id": "rs_6a567614581259d3bb844c9d:rs_a44d7f126950484b",
      "summary": []
    },
    {
      "type": "message",
      "id": "rs_9c2eba03cf1df8fa",
      "role": "assistant",
      "content": [
        {
          "type": "output_text",
          "text": "I’m seeing early signals from today — let me dig into the details to bring you the full picture.",
          "annotations": [],
          "logprobs": []
        }
      ],
      "phase": "commentary",
      "status": "completed"
    },
    {
      "type": "web_search_call",
      "id": "ws_call_982b30ae9510eda9",
      "status": "completed",
      "action": {
        "type": "open_page",
        "url": "https://www.jfeed.com/archive?year=2026&month=7"
      }
    },
    {
      "type": "web_search_call",
      "id": "ws_call_9407e1ece70b6492",
      "status": "completed",
      "action": {
        "type": "search",
        "query": "Reuters top news today"
      }
    },
    {
      "type": "web_search_call",
      "id": "ws_call_b3d8fe20a81418a5",
      "status": "completed",
      "action": {
        "type": "search",
        "query": "AP News top headlines today"
      }
    },
    {
      "type": "web_search_call",
      "id": "ws_call_b76b54d097b82428",
      "status": "completed",
      "action": {
        "type": "search",
        "query": "BBC top stories today"
      }
    },
    {
      "type": "web_search_call",
      "id": "ws_call_9d3784f2fca5cafd",
      "status": "completed",
      "action": {
        "type": "search",
        "query": "New York Times front page today"
      }
    },
    {
      "type": "web_search_call",
      "id": "ws_call_955f843bbed7dbc1",
      "status": "completed",
      "action": {
        "type": "search",
        "query": "current top US news headlines"
      }
    },
    {
      "type": "web_search_call",
      "id": "ws_call_b72af465d1c7cd21",
      "status": "completed",
      "action": {
        "type": "open_page",
        "url": "https://www.cascadepbs.org/todays-headlines-and-highlights/"
      }
    },
    {
      "type": "web_search_call",
      "id": "ws_call_869d9f47a819c9f5",
      "status": "completed",
      "action": {
        "type": "open_page",
        "url": "https://geobarta.com/en/news/usa"
      }
    },
    {
      "type": "web_search_call",
      "id": "ws_call_95ace57f26c79645",
      "status": "completed",
      "action": {
        "type": "search",
        "query": "Google News top stories July 14 2026"
      }
    },
    {
      "type": "reasoning",
      "id": "rs_6a567614581259d3bb844c9d:rs_9b0b66e98f154f58",
      "summary": []
    },
    {
      "type": "message",
      "id": "msg_be3fc0bf84772374",
      "role": "assistant",
      "content": [
        {
          "type": "output_text",
          "text": "Here are the top headlines for today — **Monday, July 14, 2026**:\n\n**World / Middle East — Iran conflict escalating:**\n\n* **Houthis Warn Airlines to Avoid Saudi Airspace After Striking Abha Airport**\n* **At Dimona Reactor: Netanyahu's Not-So-Subtle Warning To Tehran**\n* **Massive Explosion Rocks Central Israel, Sparking Panic Across Tel Aviv**\n* **The Secondary Wave: Iran Fires Salvo of Ballistic Weapons at Persian Gulf Targets in Rapid Escalation**\n* Trump says U.S. 'taking over' strait as Iran war reignites\n* Reuters reports: *Iran and US trade strikes as tensions escalate* and *Oil prices jump as US-Iran fighting ramps up again*\n\n**U.S. Politics:**\n\n* **Tamara Keith and Amy Walter on Lindsey Graham's passing** — Coverage notes **Trump suggests Darline Graham for interim Senate seat after Lindsey Graham's death**\n* **News Wrap: Judge says IRS lawsuit filed for improper purpose** / **Judge criticizes Trump for court manipulation**\n* *Federal judge rules Trump acted in bad faith regarding tax lawsuit*\n* AP NewsCast 8 a.m. today covers the judge's ruling in President Trump's IRS lawsuit and an immigration-related police incident in Maine\n\n**Business / Economy:**\n\n* **The Twenty Percent Pivot: Trump Backtracks on Shipping Protection Fees After Intense Calls From Middle Eastern Leaders**\n\n**Sports:**\n\n* **World Cup Semifinals Set To Deliver Champions League-Level Drama As Four Giants Chase The Final**",
          "annotations": [
            {
              "type": "url_citation",
              "url": "https://www.jfeed.com/archive?year=2026&month=7",
              "start_index": 120,
              "end_index": 199,
              "title": "JFeed News Archive - July 14, 2026"
            },
            {
              "type": "url_citation",
              "url": "https://www.jfeed.com/archive?year=2026&month=7",
              "start_index": 200,
              "end_index": 268,
              "title": "JFeed News Archive - July 14, 2026"
            },
            {
              "type": "url_citation",
              "url": "https://www.jfeed.com/archive?year=2026&month=7",
              "start_index": 269,
              "end_index": 345,
              "title": "JFeed News Archive - July 14, 2026"
            },
            {
              "type": "url_citation",
              "url": "https://www.jfeed.com/archive?year=2026&month=7",
              "start_index": 346,
              "end_index": 453,
              "title": "JFeed News Archive - July 14, 2026"
            },
            {
              "type": "url_citation",
              "url": "https://www.cascadepbs.org/todays-headlines-and-highlights/",
              "start_index": 454,
              "end_index": 514,
              "title": "Today's Headlines & Highlights | Cascade PBS"
            },
            {
              "type": "url_citation",
              "url": "https://www.cascadepbs.org/todays-headlines-and-highlights/",
              "start_index": 661,
              "end_index": 722,
              "title": "Today's Headlines & Highlights | Cascade PBS"
            },
            {
              "type": "url_citation",
              "url": "https://geobarta.com/en/news/usa",
              "start_index": 723,
              "end_index": 826,
              "title": "United States News Today - GeoBarta"
            },
            {
              "type": "url_citation",
              "url": "https://www.cascadepbs.org/todays-headlines-and-highlights/",
              "start_index": 827,
              "end_index": 893,
              "title": "Today's Headlines & Highlights | Cascade PBS"
            },
            {
              "type": "url_citation",
              "url": "https://geobarta.com/en/news/usa",
              "start_index": 894,
              "end_index": 945,
              "title": "United States News Today - GeoBarta"
            },
            {
              "type": "url_citation",
              "url": "https://geobarta.com/en/news/usa",
              "start_index": 946,
              "end_index": 1016,
              "title": "United States News Today - GeoBarta"
            },
            {
              "type": "url_citation",
              "url": "https://www.jfeed.com/archive?year=2026&month=7",
              "start_index": 1181,
              "end_index": 1305,
              "title": "JFeed News Archive - July 14, 2026"
            },
            {
              "type": "url_citation",
              "url": "https://www.jfeed.com/archive?year=2026&month=7",
              "start_index": 1320,
              "end_index": 1421,
              "title": "JFeed News Archive - July 14, 2026"
            }
          ],
          "logprobs": []
        }
      ],
      "status": "in_progress"
    }
  ],
  "instructions": null,
  "usage": {
    "input_tokens": 80793,
    "input_tokens_details": {
      "cached_tokens": 0
    },
    "output_tokens": 2199,
    "output_tokens_details": {
      "reasoning_tokens": 834
    },
    "total_tokens": 82992
  },
  "parallel_tool_calls": true,
  "store": true
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment