# Dashboard and console

> A tour of the pushq dashboard: queues by folder, live queue stats, task attempt history, pause, resume, purge and run actions, and settings.

Source: https://pushqueue.dev/docs/guides/dashboard/

The dashboard is a web UI for watching and operating your queues. It shows every queue and its live numbers, lets you inspect any task and its delivery attempts, and gives admins the team and API key settings.

## Where it lives

- **Hosted service:** [console.pushqueue.dev](https://console.pushqueue.dev/). Sign in with GitHub or a code emailed to you; see [Team members](https://pushqueue.dev/docs/guides/team-members/#sign-up-and-sign-in).
- **Self-hosted server:** the site root of your server, for example `http://localhost:8080/` or `https://pushq.example.com/`. The dashboard is built into the `pushq` binary; there's nothing extra to install or run. Requests under `/v1/` go to the API, and any other page a browser loads gets the dashboard.

On a self-hosted server you sign in with email and password, or click **Use an API key instead** on the sign-in page to use a key for that browser tab only. Under `pushq dev` authentication is off and the dashboard opens straight away.

Every screen refreshes itself every 5 seconds, so you can leave it open while tasks flow.

What you see depends on your role. Viewers get every screen but none of the action buttons; members and writer keys get the queue and task actions; only admins see the Team and API keys settings. See [Roles](https://pushqueue.dev/docs/guides/team-members/#roles).

## Queues

The home page lists your queues.

| Column | Shows |
|---|---|
| Name | The queue name. Click a row to open the queue. |
| State | `running`, `paused` or `disabled`. |
| Created | How long ago the queue was created (hover for the exact time). |

### Folders

Queue names can contain `/`, and the dashboard turns those into folders: queues named `user/instagram` and `user/tiktok` appear inside a `user/` folder. A folder row summarizes what's inside it, for example `2 queues, 1 paused`. Click it to open the folder; the breadcrumbs at the top take you back up. Folders are only part of queue names and need no setup. See [Queues](https://pushqueue.dev/docs/concepts/queues/).

### Filter and paging

Type in **Filter by name prefix…** to narrow the list. Inside a folder the filter applies within that folder, and matches are shown as a flat list. Choose 10, 25, 50 or 100 rows per page; the dashboard remembers your choice. A single view loads at most 5,000 queues; if there are more, open a folder or filter to narrow it down.

### First run

When there are no queues at all yet, the list is replaced by a **No queues yet** panel. Admins get a **Create API key** button that opens the API keys settings, and everyone gets an **API docs** link. Queues and tasks are created from your app or the API, not from the dashboard; see the [Quickstart](https://pushqueue.dev/docs/getting-started/quickstart/).

### Signed in with a writer key

Writer API keys can't list queues, so instead of the list you see **Listing queues isn't allowed for this key** and a box to open a queue by its name.

## Queue detail

Opening a queue shows its state, live statistics, configuration and tasks.

### Actions

Members and admins (and writer or admin keys) get two buttons in the header:

- **Pause / Resume:** pausing stops dispatching new tasks while still accepting new ones; resuming starts dispatching again. Use this when a downstream service is down or being deployed and you want tasks to wait instead of failing.
- **Purge:** after you confirm, deletes every task created up to now, including in-flight ones. Their results are discarded and their IDs become reusable. Tasks created after the purge are unaffected. Use this to throw away a backlog you no longer want delivered.

The dashboard doesn't delete queues. Use `DELETE /v1/queues/{queue}` with an admin key (or as a member or admin), see the [API reference](https://pushqueue.dev/docs/reference/api/).

### Statistics

| Card | Shows |
|---|---|
| Pending | Tasks waiting to be dispatched. |
| Running | Tasks being delivered right now. |
| Succeeded | Tasks that finished successfully and are still retained. |
| Failed | Tasks that ran out of retries and are still retained. |
| Scheduled | Tasks due in the future. |
| Oldest due | How long the oldest due task has been waiting, with its due time. A growing value means the queue is falling behind. |
| Dispatched | Dispatches in the last minute and the last hour. |
| Errors | Failed dispatches in the last minute and the last hour. |

These come from `GET /v1/queues/{queue}/stats`.

### Configuration

A summary of the queue's settings: state, target (method and base URL), whether a signing secret is configured, the dead-letter queue (a link, if set), rate limit (dispatches per second and burst), maximum concurrent dispatches, retry limits (attempts and maximum retry duration), backoff (minimum to maximum, and doublings), when it was created and updated, and the last purge if there was one. The dashboard shows configuration but doesn't edit it; change it through the API or an SDK. See [Rate limits](https://pushqueue.dev/docs/guides/rate-limits/), [Retries](https://pushqueue.dev/docs/concepts/retries/) and [Dead-letter queues](https://pushqueue.dev/docs/concepts/dead-letter-queues/).

### Tasks

The task table lists the queue's tasks, newest first, with tabs to filter by state: **All**, **Pending**, **Running**, **Succeeded**, **Failed**.

| Column | Shows |
|---|---|
| ID | The task ID. Click a row to open the task. |
| State | `pending`, `running`, `succeeded` or `failed`. |
| Scheduled | When it's due (or was due). |
| Dispatches | How many times it has been sent. |
| Last attempt | The HTTP status of the last attempt (green below 400, red otherwise) and its error, if any. |

Use **Previous** and **Next** to page through tasks.

## Task detail

The task page shows everything about one task.

### Actions

Members and admins (and writer or admin keys) get:

- **Run now:** dispatches a pending task immediately instead of waiting for its scheduled time or next retry, even if the queue is paused or at its rate limit. Use this when a task is waiting out a long backoff and you've fixed the receiver, or to test a scheduled task without waiting. Tasks that already succeeded or failed can't be run again.
- **Delete:** after you confirm, removes the task. Its ID stays reserved for the dedup window before it can be reused. Use this to cancel a task that should no longer be sent.

### Request

What pushq sends to your endpoint: the method and full URL, the task's headers, and the body. JSON and text bodies are shown with their size; binary bodies show only their size.

### Execution

| Field | Shows |
|---|---|
| State | The task's state. |
| Scheduled | When it's due. |
| Created | When it was enqueued. |
| Dispatch deadline | How long pushq waits for your endpoint to respond. |
| Dispatches | How many times it was sent. |
| Responses | How many times your endpoint answered. |
| First attempt | When it was first sent, if it has been. |
| Finished | When it succeeded or failed for good, if it has. |
| Last attempt | Time, HTTP status and error of the most recent attempt. |
| Retry override | Shown when the task has its own retry settings that override the queue's. |

### Attempts

The delivery history, newest first:

| Column | Shows |
|---|---|
| # | Attempt number. |
| Dispatched | When it was sent. |
| Status | The HTTP status your endpoint returned (green below 400, red otherwise). |
| Error kind | The kind of failure, for example a timeout or connection error, if any. |
| Duration | How long the attempt took. |
| Error snippet | Click **show** to see the start of the error response. |

Use this to see why a task is being retried: the status codes and error snippets usually point straight at the problem in your receiver. See [Delivery](https://pushqueue.dev/docs/concepts/delivery/).

## Settings

Open the account menu in the top-right corner and choose **Settings**. The tabs you see depend on your role.

### Your account

Everyone signed in with an account sees this tab.

- **Profile:** your email and role, and a field to change your name.
- **Password** (self-hosted): change your password. This signs you out on your other devices.
- **Sign-in** (hosted): a reminder that you sign in with an emailed code or GitHub; there's no password to manage.

### Team

Admins only. Invite people, change roles, remove members, and see pending invites. On the hosted service this tab also renames the team; on a self-hosted server it creates invite links and password-reset links. See [Team members](https://pushqueue.dev/docs/guides/team-members/).

### API keys

Admins only. Create keys (name and role), copy a new key from the one-time dialog, and revoke keys. The table shows each key's name, prefix, role, creator, creation time and last use. On a self-hosted server, keys defined in the config file are counted below the table. See [API keys](https://pushqueue.dev/docs/guides/api-keys/).

## Account menu

The menu in the top-right corner shows who you are (name, email and role, or the API key's name and role). On the hosted service it also lists your **Teams**: click one to switch, or choose **+ Create team**. It links to **Settings** and has **Sign out**.

Next to it, the theme button switches between light and dark mode; your choice is remembered in the browser.
