Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
fandhe-ai avatar

Upstash

  • 1 installs
  • 2 repo stars
  • Updated August 3, 2026
  • fandhe-ai/agent-reference-skills

Reference the Upstash (QStash) messaging API for publishing and batching messages to workers and URL groups with per-message options.

About

A structured reference for the Upstash QStash messaging API covering publishJSON, batchJSON, and per-message options for sending messages to workers and URL groups. A backend developer loads it when integrating Upstash message queues.

  • batchJSON publishes multiple independent messages in one call
  • Per-message options mirror publishJSON

Upstash by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #1,366 of 1,879 Documentation skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/fandhe-ai/agent-reference-skills --skill upstash

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars2
Last updatedAugust 3, 2026
Repositoryfandhe-ai/agent-reference-skills

What it does

Reference the Upstash (QStash) messaging API for publishing and batching messages to workers and URL groups with per-message options.

Files

references/qstash/batch.mdMarkdownGitHub ↗

batchJSON

Publish multiple messages in a single API call. Each message is independent—if one fails, others still process.

Signature / Usage

const res = await client.batchJSON([
  { url: "https://example.com/worker1", body: { task: "a" } },
  { url: "https://example.com/worker2", body: { task: "b" } },
  { urlGroup: "my-group", body: { broadcast: true } },
]);

Options / Props

Each element of the array accepts the same options as publishJSON:

NameTypeDescription
urlstringDestination URL (mutually exclusive with urlGroup)
urlGroupstringURL Group name for fan-out delivery
bodyunknownMessage payload (serialized to JSON)
headersRecord<string, string>Per-message custom headers
delay`number \string`
callbackstringPer-message success/failure callback URL
failureCallbackstringPer-message failure-only callback URL

Notes

  • Returns an array of responses, one per message in input order
  • URL Group entries expand to an array of responses (one per subscribed endpoint)
  • Can mix URLs, URL Groups, and queue targets in one batch request

Related

  • publish.md
  • url-groups.md
  • queues.md

Related skills

Documentationbackenddocs

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.