Skip to main content
GET
/
v1
/
performance
Get performance metrics
curl --request GET \
  --url http://localhost:3000/v1/performance
{
  "date_range": {
    "start": "<string>",
    "end": "<string>"
  },
  "orders_count": 123,
  "total_sales": 123,
  "avg_fulfillment_time_minutes": 123,
  "rfc_items_count": 123,
  "sweep_items_count": 123,
  "estimated_profit": 123,
  "estimated_profit_percent": 123
}

Query Parameters

start_date
string

Start date (YYYY-MM-DD). Defaults to today.

Example:

"2026-02-01"

end_date
string

End date (YYYY-MM-DD). Defaults to today.

Example:

"2026-02-03"

Response

Performance metrics

date_range
object
required
orders_count
number
required

Total number of delivered orders

total_sales
number
required

Total sales amount in dollars

avg_fulfillment_time_minutes
number | null
required

Average time from order arrival to delivery in minutes

rfc_items_count
number
required

Number of RFC (inventory) items

sweep_items_count
number
required

Number of sweep items

estimated_profit
number
required

Estimated profit in dollars

estimated_profit_percent
number
required

Estimated profit as percentage