Skip to main content

Console dashboard

The ASG Console (https://console.asgrefinery.io) is the customer UI for monitoring labeling spend, task flow, and webhooks. Authentication uses your API key (same Bearer token as the REST API).

info

If the Console is not yet deployed in your environment, use the REST Dashboard endpoints and this page’s layout as a reference.

Login

┌────────────────────────────────────────────┐
│ ASG Console │
│ ───────────────────────────────────── │
│ API key [ sk_sandbox_•••••••••••• ] │
│ [ Sign in ] │
└────────────────────────────────────────────┘

Paste sk_sandbox_... or sk_live_...; the Console stores a session token client-side (exact mechanism may vary by deployment).

Overview

┌──────────────────────────────────────────────────────────────┐
│ Overview [Sandbox ▼] │
├────────────┬────────────┬────────────┬─────────────────────────┤
│ Total tasks│ Pending │ In progress│ Settled │
│ 12,400 │ 120 │ 45 │ 11,200 │
├────────────┴────────────┴────────────┴─────────────────────────┤
│ Avg confidence: 0.87 Avg settlement time: 42s │
│ [████████░░] status mix [ line chart: tasks / day ] │
└────────────────────────────────────────────────────────────────┘

Shows aggregate by_status counts, average confidence, settlement time, and simple charts aligned with GET /v1/dashboard/overview.

Task list

┌────────────────────────────────────────────────────────────────┐
│ Tasks Status [ All ▼ ] Sort [ Newest ▼ ] Page 1 / 50 │
├──────────┬─────────┬───────────────┬────────────┬─────────────┤
│ tsk_… │ settled │ image_class… │ cat │ bsv_txid… │
│ tsk_… │ pending │ text_class… │ — │ — │
└──────────┴─────────┴───────────────┴────────────┴─────────────┘

Mirrors GET /v1/dashboard/tasks with filters for status and sort.

Task detail

┌────────────────────────────────────────────────────────────────┐
│ Task tsk_abc123 Status: settled │
├────────────────────────────────────────────────────────────────┤
│ data_url: https://cdn.example.com/img/1.jpg │
│ consensus: "cat" confidence: 0.67 workers: 3 agree: 2 │
├────────────────────────────────────────────────────────────────┤
│ Settlement │
│ bsv_txid: abc123... [ Open on WhatsOnChain ] │
│ cost: 1000 sats │
└────────────────────────────────────────────────────────────────┘

Deep link from list rows; shows provenance for audits.

Quality metrics

Cards and histograms for perfect agreement rate, confidence distribution, and label distribution — sourced from GET /v1/dashboard/quality.

Webhook management

Table of callback_url, events, active — CRUD aligned with /v1/webhooks (secrets not shown).

Settings & usage

  • Tier, label quota remaining, rate limit tier
  • API key hint (sk_sand…)
  • Links to billing usage and invoices

Matches GET /v1/dashboard/usage and /v1/billing/*.