Gallery Platform API
Reference

Org salesperson leaderboard

Cross-gallery salesperson performance for the organization — revenue/discount/sales/works per currency plus offer mail-sent, works-sent, and most-offered artist. Aggregates only; org-admin (or reports:read key) gated.

GET
/org/reports/leaderboard

Cross-gallery salesperson performance for the organization — revenue/discount/sales/works per currency plus offer mail-sent, works-sent, and most-offered artist. Aggregates only; org-admin (or reports:read key) gated.

Authorization

bearerAuth reports:read
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: reports:read

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "data": [    {      "user_id": "string",      "money": [        {          "currency": "string",          "revenue_cents": -9007199254740991,          "discount_cents": -9007199254740991,          "sales_count": -9007199254740991,          "works_sold": -9007199254740991        }      ],      "mail_sent": -9007199254740991,      "works_sent": -9007199254740991,      "most_offered_artist": {        "id": "string",        "name": "string"      }    }  ]}