# Audience and intelligence

Audience composition, demand, room insights, cross-event intelligence and the dashboard.

Base URL: https://api.audiobly.com

### GET /v1/events/{event_id}/audience

Room composition

Room composition: seniority / function / industry / delegate-type / top companies.
Company + industry breakdowns are k-anonymised (see app.audience).

Scope: any key

Parameters:

- `event_id` (path, string (uuid), required): Event identifier.

Responses:

- 200: Attendee breakdown by seniority, function, industry, delegate type, and top companies (k-anonymised).
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/events/{event_id}/audience/resonance

Room resonance index

Room Resonance Index: per session, how much of the room its content connected with
(and how senior that reach was), plus the audience profile for context.

Scope: any key

Parameters:

- `event_id` (path, string (uuid), required): Event identifier.

Responses:

- 200: Per-session resonance score (how much of the room the content connected with) plus the audience profile.
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/events/{event_id}/demand

Demand intelligence (agenda–market fit)

Demand Intelligence (agenda–market fit): topics/themes that drew the most room
reach + positive sentiment, and coverage gaps (sectors present that no session
addressed). Organizer-facing; k-anonymised sectors.

Scope: any key

Parameters:

- `event_id` (path, string (uuid), required): Event identifier.

Responses:

- 200: Topics/themes ranked by room reach and sentiment, plus coverage gaps and a programming brief.
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/events/{event_id}/leads

Buyer–seller lead matching

Buyer–Seller Matching: per sponsor, a ranked + explainable shortlist of attendee
companies that fit what the sponsor sells. Individual contacts are consent-gated and
only exposed when the org enables sponsor lead sharing (see app.demand).

Scope: any key

Parameters:

- `event_id` (path, string (uuid), required): Event identifier.

Responses:

- 200: Per-sponsor ranked, explainable company leads. Individual contacts are consent-gated.
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/events/{event_id}/voice

Segmented voice-of-the-room

Segmented Voice-of-the-Room: sentiment + themes sliced by audience segment.

Scope: any key

Parameters:

- `event_id` (path, string (uuid), required): Event identifier.

Responses:

- 200: Sentiment + themes sliced by audience segment (industry / function / seniority).
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/events/{event_id}/influence

Influence & share-of-voice

Influence & Share-of-Voice: who owned the conversation, weighted by the room.

Scope: any key

Parameters:

- `event_id` (path, string (uuid), required): Event identifier.

Responses:

- 200: Speaker and company leaderboards weighted by how much of the room each session reached.
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/events/{event_id}/network

Networking / relationship graph

Networking / Relationship Graph: dual-presence companies, industry clusters, and
aggregate 'you should meet' suggestions.

Scope: any key

Parameters:

- `event_id` (path, string (uuid), required): Event identifier.

Responses:

- 200: Dual-presence companies, industry clusters, and aggregate networking suggestions.
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/intelligence/portfolio

Get portfolio

Portfolio Operating System foundation: per-event benchmarks (percentile + quartile per
dimension) plus a computed Portfolio Health Score across the caller's organization.
Deterministic; module gating (Enterprise tier) is a later epic.

Scope: any key

Parameters:

- `org_unit_id` (query, string (uuid))
- `since` (query, string (date))
- `until` (query, string (date))

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/intelligence/companies

Intelligence companies

Organisation intelligence: the caller's most valuable companies across the portfolio —
events attended, ticket volume, check-in rate, LTV, lifecycle. Deterministic.

Scope: any key

Parameters:

- `limit` (query, integer)
- `org_unit_id` (query, string (uuid))
- `since` (query, string (date))
- `until` (query, string (date))

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/intelligence/attribution

Intelligence attribution

Marketing attribution: registrations + revenue by channel across the portfolio.

Scope: any key

Parameters:

- `org_unit_id` (query, string (uuid))
- `since` (query, string (date))
- `until` (query, string (date))

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### POST /v1/intelligence/ask

Portfolio ask

Portfolio AI: a grounded natural-language answer over the portfolio — answer, evidence,
drivers, recommendation, and a computed confidence. Never fabricates numbers.

Scope: any key

Body (JSON):

- `question` (string, required): The question text.

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/intelligence/opportunities

Intelligence opportunities

Scored, prescriptive opportunities across the portfolio (deterministic).

Scope: any key

Parameters:

- `org_unit_id` (query, string (uuid))
- `since` (query, string (date))
- `until` (query, string (date))

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/intelligence/patterns

Intelligence patterns

Cross-event patterns (spreads, rank-alignments, leaders) — each backed by real signal.

Scope: any key

Parameters:

- `org_unit_id` (query, string (uuid))
- `since` (query, string (date))
- `until` (query, string (date))

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/intelligence/dna

Intelligence DNA

Every event's DNA fingerprint (scale / attendance / commercial / channel traits).

Scope: any key

Parameters:

- `org_unit_id` (query, string (uuid))
- `since` (query, string (date))
- `until` (query, string (date))

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/intelligence/dna/{event_id}

Intelligence DNA for an event

One event's DNA + the most similar events in the portfolio.

Scope: any key

Parameters:

- `event_id` (path, string (uuid), required)
- `org_unit_id` (query, string (uuid))
- `since` (query, string (date))
- `until` (query, string (date))

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/intelligence/forecast

Intelligence forecast

Per-event registration-pace projection + attendance forecast (deterministic).

Scope: any key

Parameters:

- `org_unit_id` (query, string (uuid))
- `since` (query, string (date))
- `until` (query, string (date))

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/intelligence/sponsors

Intelligence sponsors

Cross-event sponsor performance: events, tiers, value, reach, leads, renewal signal.

Scope: any key

Parameters:

- `org_unit_id` (query, string (uuid))
- `since` (query, string (date))
- `until` (query, string (date))

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/intelligence/speakers

Intelligence speakers

Cross-event speaker performance: events spoken at, sessions, companies represented.

Scope: any key

Parameters:

- `org_unit_id` (query, string (uuid))
- `since` (query, string (date))
- `until` (query, string (date))

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/intelligence/churn

Intelligence churn

Per-company churn risk + forward LTV projection (deterministic; highest-risk first).

Scope: any key

Parameters:

- `org_unit_id` (query, string (uuid))
- `since` (query, string (date))
- `until` (query, string (date))

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/intelligence/topics

Intelligence topics

Cross-event topic trends: recurrence, reach (events), mentions, salience.

Scope: any key

Parameters:

- `org_unit_id` (query, string (uuid))
- `since` (query, string (date))
- `until` (query, string (date))

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/dashboard/overview

Get overview

Every Dashboard card for the filtered scope in one call: usage, findings, theme momentum,
coverage, stage vs room, debates, companies and the next-event plan. A card whose data is
not there yet comes back `waiting`, saying what it needs; `has_content` is false when the
organisation has no processed session at all. Scope: `org_unit_id` (the unit and everything
beneath it), `since` / `until` (the event's day, inclusive) and repeated `event_id`.
Computed on request from stored data; nothing is generated.

Scope: read

Parameters:

- `org_unit_id` (query, string (uuid))
- `since` (query, string (date))
- `until` (query, string (date))
- `event_id` (query, array of string (uuid)): Repeat to narrow the scope to specific events.

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/dashboard/layout

Get layout

The signed-in person's saved card order. `cards: null` means the complete default
Dashboard (also for API keys, which have no person). Card ids the server no longer knows
are left out. `known_cards` is the set offered when the layout was saved: a card in the
overview's `known_cards` but not here is new since then.

Scope: read

Responses:

- 200: Successful Response
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### PUT /v1/dashboard/layout

Put layout

Save the signed-in person's card order. Ids must be known card ids (422 otherwise);
repeats are dropped, order is kept. `cards: null` resets to the complete default. API keys
get 403: a layout belongs to a person.

Scope: read

Body (JSON):

- `cards` (array of string, required): Card ids in order (unknown ids are rejected, repeats dropped); null resets.

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### GET /v1/dashboard/plan-items

List plan items

The next-event plan for one upcoming event, oldest first.

Scope: read

Parameters:

- `target_event_id` (query, string (uuid), required)

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### POST /v1/dashboard/plan-items

Create plan item

Add a theme, speaker or sponsor to an upcoming event's plan (Add to plan). Adding the
same kind and label to the same event again returns the existing item rather than a
duplicate. 404 when the event is not in your organisation.

Scope: read

Body (JSON):

- `target_event_id` (string (uuid), required): The id of the event this plan item is for.
- `kind` (one of theme, speaker, sponsor, required): theme, speaker or sponsor.
- `label` (string, required): The plan item's text, up to 300 characters.
- `evidence` (string or object or array of any): The evidence or reasoning behind this item.

Responses:

- 201: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### PATCH /v1/dashboard/plan-items/{item_id}

Update plan item

Mark a plan item done or open again.

Scope: read

Parameters:

- `item_id` (path, string (uuid), required)

Body (JSON):

- `status` (one of open, done, required): open or done.

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.

### DELETE /v1/dashboard/plan-items/{item_id}

Delete plan item

Remove a plan item.

Scope: read

Parameters:

- `item_id` (path, string (uuid), required)

Responses:

- 204: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.
