Vruum Analytics API
The analytics API from Vruum, for analytics.
The analytics API from Vruum, for analytics.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/vruum-ai:vruum-ai-analytics-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Vruum Ai Analytics API
version: 1.0.0
description: 'Operations tagged analytics across 3 of this provider''s published API definitions: api.vruum.ai-openapi.json, vruum-ai-openapi.json, vruum.ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.vruum.ai
security:
- bearerAuth: []
tags:
- name: Analytics
paths:
/api/analytics/objective-outcomes:
post:
tags:
- Analytics
summary: Get Objective Outcomes
description: 'Compare objectives on real outcomes — contacted, replied, verified meetings.
A legacy outreach campaign is an objective now — pass its objective id,
not the campaign id.
Answers "which of these objectives actually worked" for up to 100
objectives in one call, over an explicit UTC window. Every objective you
ask for comes back, including ones with no usable data — those carry
`availability: "unavailable"` rather than being dropped or reported as
zero, so an objective never looks like a failure when it is really just
unmeasured.
**Use `get_performance_metrics` instead** for funnel and time-series views
of the whole account; this tool is for ranking specific objectives against
each other on a like-for-like cohort.
Reading the response:
- **`outcome_cutoff`** is the "as of" moment. A reply or meeting counts
only if it happened by then, so an objective that started last week is
not punished for outcomes that have not had time to land. Keep it
identical across objectives you intend to compare.
- **`meetings`** counts people with a verified meeting: it started by
`outcome_cutoff` and was not cancelled, internal, or marked as a
no-show. **`booked_meetings`** counts the other people with a live
booking that has not started: progress, never a result.
- **`coverage_complete: false`** means attribution for that objective is
still incomplete. Report the numbers, but do not rank on them — that is
the difference between "performed badly" and "we cannot tell yet".
- **`data_watermark`** is how far message and meeting ingestion has caught
up. Outcomes after the watermark are not in these numbers yet.
- **`computed_at`** stamps the calculation, which is worth quoting when
the same window is re-run later and moves.
Window rules the server enforces: all three timestamps must carry a UTC
offset, `start_at < end_at <= outcome_cutoff`, and `outcome_cutoff` cannot
be in the future. `objective_ids` must be unique.'
operationId: get_objective_outcomes
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ObjectiveOutcomesQuery'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ObjectiveOutcomesResponse'
'502':
description: Objective outcome RPC response violated its contract
'503':
description: Objective outcome data dependency is unavailable
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
servers:
- url: https://api.vruum.ai
/api/analytics/performance:
get:
tags:
- Analytics
summary: Get Performance Metrics
description: 'Get outreach performance metrics: time-series trends and/or conversion funnel. Set view=''timeseries'' for daily counts of a single metric (contacts/people/replies/meetings). Set view=''funnel'' for aggregate conversion data: contacted->replied->met funnel with rates,
reply rates by channel, and LinkedIn pipeline breakdown. Set view=''both'' for everything in one call. For T1s sent over time: view=''timeseries'', metric=''contacts''. For reply rate and funnel: view=''funnel''. Operators: pass for_company to get metrics for a specific client. UNIT CONVENTIONS USED IN RESPONSES
Every count field is one of {messages, unique_people, plans, campaigns, days}; see the
Returns block for the unit attached to each field. Note that timeseries ''contacts'' and
funnel.contacted are BOTH unique_people (i.e. unique people, deduped per person_id),
NOT message counts. DATE-FILTER COLUMN PER METRIC (timeseries)
- metric=''people'': filters on company_people.created_at — start_date / end_date
- metric=''contacts'': filters on messages.sent_at (sequence_number=1 only) — start_date / end_date
- metric=''replies'': filters on company_people.replied_at — start_date / end_date
- metric=''meetings'': filters on outcomes.observed_at (meeting_booked / meeting_held
attributed to an outreach send) — start_date / end_date
ONE SOURCE FOR MEETINGS: funnel.meetings, stage_funnel.meetings_all and the ''meetings''
timeseries read the same outcomes ledger under the same attribution rule. They differ
only in the clock: the funnel windows on the SEND (people sent in the window who met,
whenever), the timeseries on the MEETING (people whose meeting fell in the window). A meeting with a person no outreach send reached is in neither. reply_rates_by_channel and stage_funnel share one scope per response mode —
the stage funnel is derived from the same per-channel counts, never from a
separate query. Returns (selected fields, with unit + scope + date-filter annotations):
view (str):
Echoes the requested view. timeseries (object, when view=''timeseries'' or ''both''):
metric (str): The metric name. data (list of {date, count}):
date (str): YYYY-MM-DD. count (int): unit = unique_people for ALL four metrics (T1-sent dedupe by
person; company_people rows for people/replies; for meetings, each person
once per window at their first meeting outcome in it). funnel (object, when view=''funnel'' or ''both''):
total_people (int, unit=unique_people, scope=non-archived company_people in
tenant, no date filter): denominator for contact_rate. contacted (int, unit=unique_people, scope=non-archived; date-filter:
company_people.last_message_sent_at): distinct people with at least one
sent message in window. NOT the total message count. replied (int, unit=unique_people, scope=non-archived; date-filter:
company_people.replied_at): distinct people who replied. NOT the total
reply-message count. meetings (int, unit=unique_people, scope=includes archived; date-filter:
the send''s messages.sent_at): send-cohort people with a meeting_booked /
meeting_held outcome, whenever observed. Equal to stage_funnel.meetings_all. A meeting is a permanent positive outcome so it counts regardless of
archive state. summary (str): human prose summary of the funnel. conversion_rates (object): contact_rate, reply_rate, meeting_rate, booking_rate
— percentages computed from the funnel counts above, NOT independent measures. reply_rates_by_channel (list, when view=''funnel'' or ''both''):
One entry per channel actually used. Per-channel entries (unit=unique_people
for sent/replied/accepted):
- ''linkedin_connection'': sent + accepted + acceptance_rate (NOT a reply_rate;
connection requests are top-of-funnel, replies happen on follow-up DMs). note: "Acceptance rate, not reply rate. Replies happen on follow-up messages."
accepted counts DISTINCT cohort people with a connection_accepted
OUTCOME on the cohort send''s action (webhook-observed or
reply-inferred; organic connections have no cohort send and are
structurally excluded).'
operationId: get_performance_metrics
security:
- HTTPBearer: []
parameters:
- name: view
in: query
required: false
schema:
type: string
description: 'What to return: ''timeseries'' for daily counts of a single metric, ''funnel'' for aggregate conversion data, ''both'' for everything in one call.'
default: both
title: View
description: 'What to return: ''timeseries'' for daily counts of a single metric, ''funnel'' for aggregate conversion data, ''both'' for everything in one call.'
- name: metric
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: 'Metric for timeseries view. Each value documents its own scope + date-filter column (units in parentheses): ''people'' (unique_people) = new company_people rows for this tenant, filtered on company_people.created_at — i.e. imports per day; ''contacts'' (unique_people) = T1 messages ONLY (messages.sequence_number=1), deduped per person, filtered on messages.sent_at — follow-up touches NOT counted (to see total send activity per day, query messages table directly); ''replies'' (unique_people) = distinct company_people whose replied_at falls in window, filtered on company_people.replied_at (NOT the original message''s sent_at); ''meetings'' (unique_people) = distinct people with a meeting_booked or meeting_held outcome observed in window, attributed to an outreach send (the funnel''s ledger and attribution rule), filtered on outcomes.observed_at. Required when view includes ''timeseries'' or ''both''.'
title: Metric
description: 'Metric for timeseries view. Each value documents its own scope + date-filter column (units in parentheses): ''people'' (unique_people) = new company_people rows for this tenant, filtered on company_people.created_at — i.e. imports per day; ''contacts'' (unique_people) = T1 messages ONLY (messages.sequence_number=1), deduped per person, filtered on messages.sent_at — follow-up touches NOT counted (to see total send activity per day, query messages table directly); ''replies'' (unique_people) = distinct company_people whose replied_at falls in window, filtered on company_people.replied_at (NOT the original message''s sent_at); ''meetings'' (unique_people) = distinct people with a meeting_booked or meeting_held outcome observed in window, attributed to an outreach send (the funnel''s ledger and attribution rule), filtered on outcomes.observed_at. Required when view includes ''timeseries'' or ''both''.'
- name: start_date
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Start date (YYYY-MM-DD), inclusive. Filters on the metric-specific timestamp column documented in `metric` for timeseries view; the funnel view filters the send cohort on messages.sent_at (contacted, replied and meetings are that cohort's people). Omit for last-30-days default on timeseries; omit for all-time on funnel.
title: Start Date
description: Start date (YYYY-MM-DD), inclusive. Filters on the metric-specific timestamp column documented in `metric` for timeseries view; the funnel view filters the send cohort on messages.sent_at (contacted, replied and meetings are that cohort's people). Omit for last-30-days default on timeseries; omit for all-time on funnel.
- name: end_date
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: End date (YYYY-MM-DD), inclusive of the whole end day. Funnel-view bounds (company_people, messages, outreach_plans) widen a bare date to end-of-day UTC; timeseries 'contacts' uses its next-day exclusive bound. Applied to reply_rates_by_channel and stage_funnel in BOTH modes (unscoped and objective-scoped).
title: End Date
description: End date (YYYY-MM-DD), inclusive of the whole end day. Funnel-view bounds (company_people, messages, outreach_plans) widen a bare date to end-of-day UTC; timeseries 'contacts' uses its next-day exclusive bound. Applied to reply_rates_by_channel and stage_funnel in BOTH modes (unscoped and objective-scoped).
- name: objective_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Filter results to objective(s) (UUID, comma-separated for several). Applies to all funnel totals, connections, and timeseries metrics; the per-channel/stage-funnel breakdown scopes to the FIRST objective when several are given. A legacy campaign is an objective now — pass its objective id.
title: Objective Id
description: Filter results to objective(s) (UUID, comma-separated for several). Applies to all funnel totals, connections, and timeseries metrics; the per-channel/stage-funnel breakdown scopes to the FIRST objective when several are given. A legacy campaign is an objective now — pass its objective id.
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
servers:
- url: https://api.vruum.ai
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
ConversionReading:
properties:
metric:
type: string
title: Metric
value:
anyOf:
- type: number
- type: 'null'
title: Value
percent:
anyOf:
- type: number
- type: 'null'
title: Percent
numerator:
anyOf:
- type: integer
- type: 'null'
title: Numerator
denominator:
type: integer
title: Denominator
metric_definition_version:
type: string
title: Metric Definition Version
sample:
type: string
enum:
- ok
- insufficient_sample
title: Sample
floor:
type: integer
title: Floor
channel:
anyOf:
- type: string
- type: 'null'
title: Channel
unmeasurable:
anyOf:
- type: string
- type: 'null'
title: Unmeasurable
type: object
required:
- metric
- denominator
- metric_definition_version
- sample
- floor
title: ConversionReading
description: '``Rate.as_dict()`` typed for the generated client.'
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ObjectiveOutcomeItem:
properties:
objective_id:
type: string
format: uuid
title: Objective Id
objective_name:
anyOf:
- type: string
- type: 'null'
title: Objective Name
availability:
type: string
enum:
- available
- unavailable
title: Availability
unavailable_reason:
anyOf:
- type: string
const: objective_not_found
- type: 'null'
title: Unavailable Reason
contacted:
type: integer
minimum: 0.0
title: Contacted
replied:
type: integer
minimum: 0.0
title: Replied
meetings:
type: integer
minimum: 0.0
title: Meetings
description: 'Cohort people with a verified meeting: live (not cancelled, not a no-show, not internal, not a logged interaction) and its start time inside [start_at, outcome_cutoff), so it has passed.'
booked_meetings:
type: integer
minimum: 0.0
title: Booked Meetings
description: 'Other cohort people with a live booking whose start has not passed by outcome_cutoff: progress, never a result.'
won:
type: integer
minimum: 0.0
title: Won
reply_rate:
type: number
maximum: 1.0
minimum: 0.0
title: Reply Rate
meeting_rate:
type: number
maximum: 1.0
minimum: 0.0
title: Meeting Rate
attribution_quality:
type: string
enum:
- exact
- reconstructed
- inferred
title: Attribution Quality
exact_count:
type: integer
minimum: 0.0
title: Exact Count
reconstructed_count:
type: integer
minimum: 0.0
title: Reconstructed Count
inferred_count:
type: integer
minimum: 0.0
title: Inferred Count
coverage_complete:
type: boolean
title: Coverage Complete
data_watermark:
$ref: '#/components/schemas/ObjectiveOutcomeWatermark'
reply:
$ref: '#/components/schemas/ConversionReading'
readOnly: true
meeting:
$ref: '#/components/schemas/ConversionReading'
readOnly: true
type: object
required:
- objective_id
- availability
- contacted
- replied
- meetings
- booked_meetings
- won
- reply_rate
- meeting_rate
- attribution_quality
- exact_count
- reconstructed_count
- inferred_count
- coverage_complete
- data_watermark
- reply
- meeting
title: ObjectiveOutcomeItem
ObjectiveOutcomesResponse:
properties:
computed_at:
type: string
format: date-time
title: Computed At
outcome_cutoff:
type: string
format: date-time
title: Outcome Cutoff
coverage_complete:
type: boolean
title: Coverage Complete
coverage_warning:
anyOf:
- type: string
- type: 'null'
title: Coverage Warning
items:
items:
$ref: '#/components/schemas/ObjectiveOutcomeItem'
type: array
title: Items
type: object
required:
- computed_at
- outcome_cutoff
- coverage_complete
- items
title: ObjectiveOutcomesResponse
description: 'Canonical REST/MCP batch response (VRU-878 PR B) — the objective-keyed
twin of the retired ``CampaignOutcomesResponse``: same shape, ``items``
keyed by ``objective_id``/``objective_name`` instead of
``campaign_id``/``campaign_name``.'
ObjectiveOutcomesQuery:
properties:
objective_ids:
items:
type: string
format: uuid
type: array
maxItems: 100
minItems: 1
title: Objective Ids
start_at:
type: string
format: date-time
title: Start At
end_at:
type: string
format: date-time
title: End At
outcome_cutoff:
type: string
format: date-time
title: Outcome Cutoff
type: object
required:
- objective_ids
- start_at
- end_at
- outcome_cutoff
title: ObjectiveOutcomesQuery
ObjectiveOutcomeWatermark:
properties:
latest_contact:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Latest Contact
latest_contact_observed:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Latest Contact Observed
pending_sends:
type: integer
title: Pending Sends
default: 0
won_basis:
anyOf:
- type: string
- type: 'null'
title: Won Basis
type: object
title: ObjectiveOutcomeWatermark
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Vruum login token or API token.
x-refined-from:
- api.vruum.ai-openapi.json
- vruum-ai-openapi.json
- vruum.ai-openapi.json