Event themes
An event's headline themes ("Key themes") and which sessions sit under each: the list your event website shows on its Insights and theme pages, the keys to use when a delegate follows a theme (follows are not checked against this list), and the rows of timelines, heatmaps and the series view across editions. One setting per event, read and written from your server with your organisation's API key (or by a signed-in member of the organisation). There are no public reads: reads need read, writes prep_manage. API keys come with the Enterprise plan, which includes every module, so every call answers for any key.
Where the themes come from
- Your own editorial themes, when you publish them. If you already publish "Key themes" (names, a blurb, an image), import them with
PUT /v1/events/{event_id}/themesandsource: "editorial". They are used as they are: one editorial theme is enough for Audiobly to stop proposing (proposals already made stay until you delete them). - Otherwise Audiobly proposes them from that event's own content: the programme (session titles, descriptions, session types and the speakers' companies), the eBook or other text you supply (
source_text) and, after the day, what the analysed sessions actually discussed. A proposal usually has 4 to 8 themes (fewer when it only adds to themes you kept), each with a name, a short name, a one-sentence blurb and the reason it was proposed. They arrive withstatus: "proposed"; you approve them (PATCH … {"status": "approved"}), edit them or delete them.
Themes are never taken from an earlier edition.
How sessions are placed under a theme
Sessions are always placed from the event's own content:
- Before the day, from the programme (and eBook): the proposal places each session under up to three themes with a
weight(0–1, how much of the session is about the theme; a session's weights add up to at most 1).mentionsis 0. - After the day, from the session's analysis. Each item the analysis found is sorted under a theme by meaning, and the numbers are arithmetic on the analysis itself: a topic scores its salience × its mentions (at least 1; the 25 most salient topics per session; a missing salience counts as 0.5), an analysis theme 3, an opportunity or risk 0.5; an item placed under two themes gives each half. A theme's
weightin a session is its share of that session's total score, andmentionsis its score, rounded, at least 1 (weighted mentions). The items behind each placement are kept asevidence. - Placement is not updated on its own. Call
POST …/themes/mapafter new analyses or programme changes (or?map=trueon an import,map: trueon a proposal). - Your own placement wins.
PUT …/themes/{key}/sessionsfixes which sessions sit under a theme (source: "organiser"). Later mappings keep exactly those sessions, with the weight and mentions the content gives them when the mapping also placed them there, else weight 1 and mentions 0. This is permanent for that theme (an empty list keeps it empty), and it marks the themeedited.
share is a theme's share (0–100) of everything mapped across the event; the themes in a list add up to about 100. Once a mapped session has weighted mentions, shares use them ("basis": "mentions"), and sessions still waiting for their analysis count for nothing until they are analysed; before that shares use the programme weights ("basis": "weight"). A list filtered with ?status=approved computes shares across those themes only, so a theme's share there can differ from its theme page.
Proposing takes one AI call for the whole event; mapping takes one call per few analysed sessions (a large event makes several). Both are cached: calling them again while nothing changed (programme, eBook text, analyses, themes) costs nothing and returns at once (except replace: true, which always asks again).
Read the themes
curl -H "Authorization: Bearer $API_KEY" \
"https://api.audiobly.com/v1/events/$EVENT_ID/themes?status=approved"{
"data": [
{
"key": "agents",
"name": "Agents at work",
"short_name": "Agents",
"blurb": "Agents doing the work.",
"image_url": null,
"position": 1,
"source": "ai",
"status": "approved",
"share": 47.1,
"session_count": 2,
"mentions": 8,
"rationale": "Sessions 1, 2.",
"edited": false,
"sessions": [
{"session_id": "f124bb96-…", "weight": 0.8152, "mentions": 8, "source": "analysis"},
{"session_id": "c135c3e0-…", "weight": 0.5, "mentions": 0, "source": "programme"}
]
}
],
"basis": "mentions",
"editorial": false
}?status=approvedis what a public site shows; leave it out to see proposals too.sourceiseditorial,aiororganiser(typed in by you); a session'ssourceisprogramme,analysisororganiser.editedis true once you changed a theme's name, short name, blurb or image (not its position, status or uploaded image alone); edited and approved themes are never replaced by a later proposal.- Errors use
{"error": {"code", "message"}}:404 NOT_FOUND,403 FORBIDDEN,403 PLAN_REQUIRED(organisation not on Enterprise),422 INVALID_REQUESTor a validation error. Limits:name1–120 characters,short_name40,blurb600,key60.
One theme
GET /v1/events/{event_id}/themes/{key} is the theme's page (it also answers for proposed themes, and other_themes lists every status, so a public site must check status): everything in the list entry plus
{
"basis": "mentions",
"sessions": [
{
"session_id": "f124bb96-…", "title": "What a year of AI taught us",
"starts_at": "2026-06-09T09:00:00+00:00", "ends_at": "2026-06-09T09:45:00+00:00",
"day": "2026-06-09", "session_type": "panel",
"weight": 0.8152, "mentions": 8, "source": "analysis",
"evidence": {
"origin": "analysis",
"topics": [{"label": "AI agents in newsrooms", "salience": 0.8, "mentions": 5}],
"themes": [{"title": "Agents change workflows", "summary": "…", "related_topics": []}],
"opportunities": [{"description": "Agent marketplaces", "category": "commercial"}],
"risks": []
}
}
],
"by_day": [
{"day": "2026-06-09", "weight": 0.8152, "mentions": 8, "sessions": 1},
{"day": "2026-06-10", "weight": 0.5, "mentions": 0, "sessions": 1}
],
"quotes": [
{"quote_id": "3f9c2a7b51e0d4c8", "text": "Agents will run the newsroom.",
"verbatim": "So, um, agents will, agents will run the newsroom.",
"speaker": "Ada Lovelace", "speaker_id": "…",
"job_title": "CEO", "company": "Analytical Engines", "headshot_url": null,
"session_id": "…", "session_title": "Running a newsroom with agents", "starts_at": "…"}
],
"voices": [
{"speaker_id": "…", "name": "Ada Lovelace", "job_title": "CEO", "company": "Analytical Engines",
"headshot_url": null, "seconds": 90, "sessions": ["…"], "quotes": 1}
],
"other_themes": [{"key": "policy", "name": "Policy and platforms", "short_name": "Policy"}]
}sessionsare ordered most said first;quotesare the pull quotes of those sessions, best first (sessions that say most on the theme, then each session's own quote order).textis the quote cleaned newspaper-style andverbatimthe transcript words, with itsquote_id(as in the event Insights guide); a quote that is not one complete thought after cleaning is left out. Before the event's Insights snapshot is first built, quotes are shown verbatim.voicesare the speakers identified in those sessions' recordings, by seconds spoken, with how many of the quotes are theirs. Days are in the event's time zone;by_daycan have an"undated"entry.evidence.originisanalysis,proposal,programme,organiser,title fragmentsor null.
Sessions × themes
GET /v1/events/{event_id}/themes/matrix serves timelines and heatmaps: every session in running order with one cell per theme.
{
"themes": ["adoption", "agents", "policy", "audience"],
"theme_names": ["Adoption", "Agents", "Policy", "Audience"],
"shares": [0.0, 47.1, 29.4, 23.5],
"basis": "mentions",
"rows": [
{"session_id": "…", "title": "What a year of AI taught us",
"starts_at": "2026-06-09T09:00:00+00:00", "day": "2026-06-09", "session_type": "panel",
"analysed": true, "cells": [0, 8, 2, 0], "weights": [0.0, 0.8152, 0.163, 0.0]}
]
}cells are weighted mentions, weights 0–1, both in themes order; theme_names uses the short name when there is one; analysed says the session has a completed analysis. Rows run by start time, then position and title; undated sessions come last. ?status=approved limits the columns (shares are recomputed over them); ?mapped_only=true drops sessions under no theme.
Across editions (series)
GET /v1/org-units/{org_unit_id}/themes puts the editions of a brand or product side by side (its events and those of the units beneath it; ?editions=<id>,<id> to choose). Without ?editions the unit's events that have themes are used; an edition outside the unit answers 404. For events that sit under no unit, GET /v1/themes/series?editions=<id>,<id> (required, 1–12 ids) does the same for any of your events, e.g. last year's and this year's. Both take ?status.
{
"editions": [
{"event_id": "…", "title": "Summit 2025", "starts_at": "2025-06-10T09:00:00+00:00",
"captured": true, "basis": "mentions", "theme_count": 6, "session_count": 21,
"analysed_session_count": 19}
],
"themes": [
{"key": "agents", "name": "Agents", "short_name": null, "blurb": null, "image_url": null,
"cells": [{"event_id": "…", "present": true, "share": 24.0, "sessions": 5, "mentions": 40,
"key": "agents", "status": "approved"}],
"trend": "up", "change": 6.5}
]
}Editions run oldest first; themes are sorted by their share in the latest edition (a row's key comes from the oldest edition, its label from the newest). Themes are matched across editions by key, else by name (case and punctuation ignored). captured says whether an edition has analysed sessions yet; a cell with present: false means that edition has no such theme. trend compares the two latest editions that have themes: up or down beyond 2 share points, else flat; new (in the latest but not the edition before), gone (in the edition before but not the latest), or null with fewer than two editions or when the theme is in neither.
Write the themes
Writes need event preparation rights (an unscoped API key, the prep_manage scope, or a signed-in admin or event manager).
Import your editorial themes — replaces the whole list, in list order:
curl -X PUT -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
"https://api.audiobly.com/v1/events/$EVENT_ID/themes?map=true" \
-d '{"source": "editorial", "themes": [
{"key": "glp-1", "name": "GLP-1 and appetite", "short_name": "GLP-1",
"blurb": "Weight-loss drugs, smaller appetites and what people now want from each bite.",
"image_url": "https://example.com/glp1.jpg"},
{"name": "Reformulation"}]}'A theme whose key (or, without a key, name) matches an existing one keeps its placement; the rest of the old list is removed (an empty list removes every theme). Every field is overwritten: a field you leave out is cleared, including an uploaded image. At most 30 themes; source may be editorial or organiser. status defaults to approved. ?map=true places the sessions straight away; the list is saved before the mapping runs.
| Call | What it does |
|---|---|
POST /v1/events/{event_id}/themes |
Add one: {name, key?, short_name?, blurb?, image_url?, status?, source?, position?}. Source organiser (or editorial) and status approved by default. Keys are made URL-safe (a–z, 0–9 and hyphens); without key, a clash gets a -2 suffix; with key, 409 THEME_EXISTS when it is taken. position does not move the other themes. |
PATCH /v1/events/{event_id}/themes/{key} |
Change name, short_name, blurb, image_url, position or status (null clears a field, except name). status: "proposed" takes a theme off ?status=approved. The key never changes. |
DELETE /v1/events/{event_id}/themes/{key} |
Delete a theme and its placement (204). Delegates' follows of its key stay. |
PUT /v1/events/{event_id}/themes/order |
{"keys": ["glp-1", "reformulation"]}: the listed themes first, in that order; the others follow. 1–30 keys; an unknown key answers 422 INVALID_REQUEST. |
POST /v1/events/{event_id}/themes/{key}/image |
Upload the theme's image (multipart file, PNG/JPG/WEBP under 10 MB); sets image_url to a stable /v1/media/{path} path (prefix it with https://api.audiobly.com); 400 INVALID_REQUEST for another type or over 10 MB. |
DELETE /v1/events/{event_id}/themes/{key}/image |
Remove the image. |
PUT /v1/events/{event_id}/themes/{key}/sessions |
{"session_ids": [...]} (up to 500 sessions of this event; others answer 422): you decide which sessions sit under the theme, for good (an empty list keeps it empty). |
Ask for a proposal
curl -X POST -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \
"https://api.audiobly.com/v1/events/$EVENT_ID/themes/propose" \
-d '{"source_text": "<the eBook text>", "replace": false, "map": true}'Returns the list (as GET …/themes) plus cached (true when no AI call was made and the list did not change) and usage (the number of AI calls and tokens). It can take up to a minute. Nothing is proposed when your editorial themes are in use. Without replace, nothing is proposed either once you have approved, edited or added a theme: you are in charge of the list from then on. replace: true asks again; it refreshes only the proposals you have not touched (untouched proposals the new answer leaves out are deleted), and never repeats a theme you kept. A proposal you deleted is not remembered and can come back.
source_text takes up to 400,000 characters, of which the first 40,000 are used. It is not stored: send the same text on every call, or the next call counts as changed and proposes again without it. map defaults to true.
502 THEMES_UNAVAILABLE means the proposal or the mapping could not be made; the message says why (for example, the event has no sessions yet, which a retry will not fix). Anything already saved stays saved.
Remap the sessions
POST /v1/events/{event_id}/themes/map recomputes the placement from the content (after new analyses, programme changes or theme edits). Free when nothing changed. Returns the list plus usage.