Menu
Platform
AI
Alerts and status pages
App store purchases
Credits
Generated Assets
Knowledge
KV
Localization
Notifications
Organizations
Payments
Queues
Realtime
Sandboxes
Storage
Workflows
API reference
- Overview
- Access API keys
- Agent sessions API
- Agent versions API
- Agents API
- AI models API
- Artifact references API
- Artifacts API
- Assets API
- Auth configs API
- Bank receipts API
- Bank transfer accounts API
- Buckets API
- Builds API
- Catalogs API
- Chat profiles API
- Chat reports API
- Chat sticker packs API
- Checkout policies API
- Checkout sessions API
- Config changes API
- Config flags API
- Config segments API
- Connection providers API
- Connections API
- Connectors API
- Credit grants API
- Customer organizations API
- Customer subscriptions API
- Databases API
- Documents API
- Email domains API
- End users API
- Entities API
- Entitlement grants API
- Entries API
- Environments API
- Episodes API
- Error events API
- Error groups API
- Events API
- Exchange rates API
- Generations API
- Glossaries API
- Goals API
- Identities API
- Inbound emails API
- Inbound endpoints API
- Inbound messages API
- Inbound sms API
- Invitations API
- Job runs API
- Jobs API
- Knowledge schemas API
- KV API
- KV namespaces API
- Lease events API
- Leases API
- Licence keys API
- Licence tokens API
- Mail domains API
- Mail routes API
- Mailbox connect links API
- Mailbox OAUTH apps API
- Mailboxes API
- Memberships API
- Memories API
- Memory stores API
- Merchant accounts API
- Message topics API
- Messages API
- OAUTH clients API
- Objects API
- Organization roles API
- Orgs API
- Owner pools API
- Phone numbers API
- Portal sessions API
- Preferences API
- Price catalogs API
- Processor events API
- Projects API
- Queued executions API
- Queues API
- Realtime channels API
- Realtime members API
- Realtime messages API
- Recipients API
- Relations API
- Releases API
- Revenue API
- Revenue facts API
- Revenue sources API
- Runs API
- Sandbox shapes API
- Schedules API
- Scrubbing policies API
- Search API
- Search indexes API
- Secret versions API
- Secrets API
- Service enablements API
- Service observations API
- Services API
- Serving routes API
- Session events API
- Sessions API
- Signing key versions
- Signing keys
- Sms numbers API
- Source maps API
- Spaces API
- Store connections API
- Store purchases API
- Subscriptions API
- Suppressions API
- Tax threshold statuses API
- Templates API
- Test clocks API
- Token exchanges API
- Transfers API
- Trust policies API
- Trusted issuers API
- Uptime checks API
- Uptime manifests API
- Uptime sources API
- Usage events API
- Usage invoices API
- Usage meter prices API
- Usage meters API
- Usage reservations API
- Usage settings API
- Usage tiers API
- Volumes API
- Waits API
- Webhook deliveries API
- Webhook endpoints API
- Workflows API
Getting Started
Authentication
KV Store
Deploy & Infrastructure
Reference
Revenue
The Revenue Summary is an org's revenue over a period, read from the daily roll-up and never from raw facts (ADR §4), converted into one…
The Revenue Summary is an org's revenue over a period, read from the daily roll-up and never from raw facts (ADR §4), converted into one reporting currency at each day's rate (§3), with the highest basis counting for each store, product and day (§1 "Which row counts"). Computed on every read; nothing writes it.
Service Sylphx Money · Resource type money.sylphx.com/RevenueSummary · Name pattern orgs/{org}/revenue · Shape singleton
#Fields
| Field | Type | What it is |
|---|---|---|
name | string | orgs/{org}/revenue. |
uid | string | The org's id. Output only. |
meta | ResourceMeta | Resource metadata. Output only. |
start_day | string | The first day of the period, YYYY-MM-DD. Output only. |
end_day | string | The last day of the period, inclusive. Output only. |
currency_code | string | The reporting currency every converted amount is in. Output only. |
amount | string | net or gross. Output only. |
group_by | string | day or month. Output only. |
split | string | none, source or product. Output only. |
total | string | The period's total, in minor units of the reporting currency. Output only. |
buckets | RevenueBucket[] | One bucket per day or month that holds revenue, oldest first. Output only. |
lines | RevenueLine[] | The period's total per source or product, largest first; empty when split is none. Output only. |
stale_sources | StaleRevenueSource[] | Sources that report late: their missing days make the period incomplete. Output only. |
unconverted | UnconvertedAmount[] | Amounts with no exchange rate for their day yet, in their own currency: counted here, never in total. Output only. |
unconverted_count | int64 | Daily rows that had no rate and are in unconverted. Output only. |
incomplete | bool | A stale source has not reported some day of the period. Output only. |
booked_volume | BookedVolumeLine[] | Ledger-backed booked volume for this exact period, by app/environment, channel and original currency. Never FX converted or replaced by imported estimates/final reports; independent of amount, split and group_by. Output only. |
#Methods
Every method of the collection, in the registry's order, with the scope it needs. The full request, response and examples are one link away.
| Method | Call | What it does |
|---|---|---|
GET | get | Gets the org's revenue over a period: totals by day or month, split by source or product, gross or net, in one reporting currency, with the basis of each bucket, the sources that report late, and what has no rate yet. Reads only the daily roll-up, bounded by a 5 second statement timeout. For example sylphx money revenue summary --period mtd --split source. |
#get
Gets the org's revenue over a period: totals by day or month, split by source or product, gross or net, in one reporting currency, with the basis of each bucket, the sources that report late, and what has no rate yet. Reads only the daily roll-up, bounded by a 5 second statement timeout. For example sylphx money revenue summary --period mtd --split source.
GET https://api.sylphx.com/v1/orgs/acme/revenue · scope revenue:read · effect read · Request, response and examples