DealReportRow
One deal with its details and event counts, as the analytics store last saw it.
idrequiredstring (uuid)- The deal id.
namerequiredstring | null- The deal name as the analytics store last saw it.
statusrequiredstring | null- The deal status as stored. A published deal past its end date stays published here; see closed.One of: draft, awaiting_approval, ready_to_publish, published, retired, in_progress, rejected
currencyrequiredstring | null- The ISO currency code of the deal. Every amount on the row is in this currency; nothing is converted.
funding_soughtrequirednumber | null- The amount the deal is raising, in the deal currency.
created_atrequiredstring | null (date-time)- When the analytics store first saw the deal.
updated_atrequiredstring | null (date-time)- When the analytics store last changed the deal row. Null when the store does not track it.
published_atrequiredstring | null (date-time)- When the deal was published. Null until then.
available_fromrequiredstring | null (date-time)- When the deal becomes available to investors. Null for no start.
available_torequiredstring | null (date-time)- When the deal stops being available to investors. Null for no end.
closedrequiredboolean- True when the deal is retired, or published and past available_to.
viewsrequiredinteger- How many view events the deal has.
unique_viewersrequiredinteger- How many different users viewed the deal. Entrepreneurs and deleted users are not counted, as in deal-viewers.
enquiriesrequiredinteger- How many enquiry events the deal has, leaving out settled ones.
engagementsrequiredinteger- How many enquiry, question, favourite and feedback events the deal has, leaving out settled ones.
commitmentsrequiredinteger- How many commitments the deal has: committed transaction events only, so one commitment is never counted twice.
committed_amountrequirednumber- The sum of the commitment amounts, in the deal currency. Zero when there are none.
funded_amountrequirednumber- The sum of the funded amounts, in the deal currency. Zero when there are none.
funded_percentrequirednumber- funded_amount over funding_sought as a percentage with two decimals. Zero when funding_sought is zero or missing.
last_event_atrequiredstring | null (date-time)- When the latest event on the deal happened. Null when the deal has none.