API ReferenceRevenue
Revenue by property
Break down revenue by product or plan for a project over a window. Organization-wide; requires owner/admin. Returns currency and rows of dimension, revenue, and orders.
AuthorizationBearer <token>
Organization API Token (prefixed sk_) sent as Authorization: Bearer sk_.... Create one in Settings and grant it scopes. Server-side only.
In: header
Path Parameters
project_idstring
Query Parameters
property?string
Reserved revenue metadata to break down by. Default product.
Value in
"product" | "plan"start_date?string
Inclusive start of the window (ISO-8601). Defaults to 30 days ago.
end_date?string
Inclusive end of the window (ISO-8601). Defaults to now.
limit?integer
Maximum number of rows to return (1-100). Defaults to 20.
Range
1 <= value <= 100Response Body
curl -X GET "https://api.logspot.io/v1/projects/string/revenue/by-property"Empty
Empty
Empty
Empty
Empty