curl "https://win.oneshotagent.com/v1/analytics/rocs?period=30" \
-H "X-Agent-ID: 0xYourWalletAddress"
{
"rocs": 2.4,
"total_spend": "10.000000",
"total_value": "24.000000",
"period_days": 30
}
Receipts & Analytics
Return on Cognitive Spend
Compute RoCS: value generated per dollar of cognitive spend
GET
/
v1
/
analytics
/
rocs
curl "https://win.oneshotagent.com/v1/analytics/rocs?period=30" \
-H "X-Agent-ID: 0xYourWalletAddress"
{
"rocs": 2.4,
"total_spend": "10.000000",
"total_value": "24.000000",
"period_days": 30
}
Returns RoCS for a period: confirmed value generated per dollar of cognitive spend.
Only value tags with
RoCS = total_value / total_spend
status: "confirmed" count toward total_value. Self-reported tags start as "pending" and affect RoCS only after the judge service validates them. See Tag Receipt Value.
Query Parameters
number
default:"30"
Period in days (1 to 365)
curl "https://win.oneshotagent.com/v1/analytics/rocs?period=30" \
-H "X-Agent-ID: 0xYourWalletAddress"
{
"rocs": 2.4,
"total_spend": "10.000000",
"total_value": "24.000000",
"period_days": 30
}