Skip to main content
GET
/
qstash
/
user
/
{id}
Get QStash
curl --request GET \
  --url https://api.upstash.com/v2/qstash/user/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "customer_id": "example@upstash.com",
  "id": "99a4c327-31f0-490f-a594-043ade84085a",
  "token": "ZXhhbXBsZUB1cHN0YXNoLmNvbTpuYWJlcg==",
  "read_only_token": "ZXhhbXBsZUB1cHN0YXNoLmNvbTpuYWJlcg==",
  "active": true,
  "state": "active",
  "modifying_state": "suspended",
  "last_plan_upgrade_time": 0,
  "max_message_size": 1048576,
  "max_requests_per_day": 1000,
  "max_requests_per_day_hard": 1000,
  "max_endpoints_per_topic": 100,
  "max_requests_per_second": 100,
  "max_dlq_size": 1000000,
  "max_retries": 999,
  "max_topics": 1,
  "max_schedules": 10,
  "max_events_size": 10000,
  "max_dlq_retention_time_milis": 259200000,
  "max_delay": 604800,
  "max_parallelism": 2,
  "max_global_parallelism": 10,
  "max_queues": 10,
  "max_bandwidth_per_second": 1048576,
  "prod_pack_enabled": false,
  "prometheus_enabled": "false",
  "timeout": 900,
  "type": "free",
  "region": "eu-central-1",
  "reserved_type": "",
  "reserved_price": 0,
  "created_by": "cahidarda@upstash.com",
  "creation_time": 1781871358,
  "deletion_time": 0,
  "budget": 0,
  "enterprise": {
    "enabled": true
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

QStash user ID

Response

200 - application/json

Successful response

customer_id
string

Customer identifier (email or team ID)

Example:

"example@upstash.com"

id
string<uuid>

Unique identifier for the QStash user account

Example:

"99a4c327-31f0-490f-a594-043ade84085a"

token
string

Authentication token for QStash operations

Example:

"ZXhhbXBsZUB1cHN0YXNoLmNvbTpuYWJlcg=="

read_only_token
string

Read-only authentication token for QStash operations

Example:

"ZXhhbXBsZUB1cHN0YXNoLmNvbTpuYWJlcg=="

active
boolean

Whether the QStash account is active

Example:

true

state
string

Current state of the QStash account (e.g. active, passive; other values may be returned)

Example:

"active"

modifying_state
string

Transitional state while the console applies an async change (e.g. suspended during suspension). Omitted when no change is in progress.

Example:

"suspended"

last_plan_upgrade_time
integer<int64>

Unix timestamp of the last plan upgrade

Example:

0

max_message_size
integer

Maximum message size in bytes

Example:

1048576

max_requests_per_day
integer

Soft limit for maximum requests per day

Example:

1000

max_requests_per_day_hard
integer

Hard limit for maximum requests per day

Example:

1000

max_endpoints_per_topic
integer

Maximum number of endpoints allowed per topic

Example:

100

max_requests_per_second
integer

Maximum requests per second (rate limit)

Example:

100

max_dlq_size
integer

Maximum dead letter queue size

Example:

1000000

max_retries
integer

Maximum number of retry attempts for failed messages

Example:

999

max_topics
integer

Maximum number of topics allowed

Example:

1

max_schedules
integer

Maximum number of schedules allowed

Example:

10

max_events_size
integer

Maximum size for events

Example:

10000

max_dlq_retention_time_milis
integer<int64>

Maximum retention time for dead letter queue in milliseconds

Example:

259200000

max_delay
integer

Maximum delay for scheduled messages in seconds

Example:

604800

max_parallelism
integer

Maximum parallel processing per endpoint

Example:

2

max_global_parallelism
integer

Maximum global parallel processing across all endpoints

Example:

10

max_queues
integer

Maximum number of queues allowed

Example:

10

max_bandwidth_per_second
integer<int64>

Maximum bandwidth per second in bytes

Example:

1048576

prod_pack_enabled
boolean

Whether production pack features are enabled

Example:

false

prometheus_enabled
enum<string>

Whether Prometheus metrics export is enabled ("true" / "false" string as returned by the API)

Available options:
true,
false
Example:

"false"

timeout
integer

Request timeout in seconds

Example:

900

type
enum<string>

Account billing plan category

Available options:
free,
paid
Example:

"free"

region
enum<string>

Region where the QStash instance is deployed

Available options:
eu-central-1,
us-east-1
Example:

"eu-central-1"

reserved_type
string

Fixed-tier or enterprise label when applicable. May be empty/absent for non-fixed plans. Known values include qstash_fixed_1m, qstash_fixed_10m, qstash_fixed_100m, qstash_fixed. Enterprise accounts may use the prefix enterprise: followed by an identifier (e.g. enterprise:acme).

Example:

""

reserved_price
integer

Reserved plan price (may be 0)

Example:

0

created_by
string

Email of the user who created this account

Example:

"cahidarda@upstash.com"

creation_time
integer<int64>

Unix timestamp of account creation

Example:

1781871358

deletion_time
integer<int64>

Unix timestamp of account deletion (0 if not deleted)

Example:

0

budget
integer

Monthly spending budget limit in dollars. 0 means no limit.

Example:

0

enterprise
object

Present for enterprise accounts