Skip to main content

Documentation Index

Fetch the complete documentation index at: https://upstash-fix-issues-on-docs.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

You can run the async code by importing Client from upstash_qstash.asyncio and awaiting the methods.

Retrieve your signing Keys

from upstash_qstash import Client

client = Client("<QSTASH_TOKEN>")
keys = client.keys()
both_keys = keys.get()

print(both_keys["current"], both_keys["next"])

Rotate your signing Keys

from upstash_qstash import Client

client = Client("<QSTASH_TOKEN>")
keys = client.keys()
new_keys = keys.rotate()
print(new_keys["current"], new_keys["next"])