# Event insights

Insights snapshot, stats, themes, analysis and cited answers from the event.

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

### POST /v1/events/{event_id}/ask

Ask a question

Ask the event: a short written answer to a delegate's question, taken ONLY from this
event's own sessions (the signed-off transcripts and the published analysis: summaries,
takeaways, themes, opportunities, risks and pull quotes), with numbered sources.

Every `[n]` in `answer` is one entry of `citations` (session, speaker, the moment in the
recording as `offset_sec`/`end_sec` when known, and at most about 40 quoted words). Markers
the writer invented are removed before you see them. When the sessions don't cover the
question the answer says so (`refused_reason: "not_covered"`) and nothing is written.
`confidence` is computed from the sources (how many, from how many sessions, any uncited
sentence), not the writer's opinion.

Scope with `session_ids` (one session's "ask about this session" box) and `as_of` (only
sessions that started before it). `mode: "moments"` returns the matching transcript
moments instead of a written answer (no AI writing); `include_moments: true` adds them to
a written answer.

Send `delegate_account_id` for a signed-in delegate: 30 questions a day per delegate and
60 a minute per organisation (`429 TOO_MANY_REQUESTS` with `Retry-After`); every response
carries `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset` (seconds) for
the tighter of the two. The question is stored for "recent questions" and citation counts;
the delegate's activity gets `ask.asked` with ids and counts only. `event_id` may be the
full id or the short id fragment. Requires the organisation's API key (403
API_KEY_REQUIRED), which comes with the Enterprise plan.

Scope: read

Parameters:

- `event_id` (path, string, required)

Body (JSON):

- `question` (string, required): The delegate's question. Up to 500 characters are answered; a longer one is refused with `refused_reason: "too_long"` (no answer is written).
- `session_ids` (array of string (uuid)): Answer only from these sessions of the event (404 if one is not part of it).
- `session_id` (string (uuid)): One session (the session page's ask box); the same as session_ids=[id].
- `show_in_recent` (boolean): false keeps this question out of "recent questions" whatever it is; true or left out: listed when it qualifies (a cited answer, short, no personal data).
- `as_of` (string (date-time)): Only sessions that started before this time are searched (the days so far).
- `max_citations` (integer): At most this many sources are cited.
- `delegate_account_id` (string (uuid)): The signed-in delegate the site asks for. Must be an account of your organisation (404 otherwise). Applies the per-delegate daily limit and records `ask.asked` activity (ids and counts only, never the question).
- `include_moments` (boolean): answer mode: also return the matching transcript moments in `moments` (found without AI, like moments mode), for a "From the transcripts" panel.
- `mode` (one of answer, moments): `answer` (default): one written answer citing numbered sources. `moments`: no written answer and no AI writing at all; the transcript moments that match the question, plus `related_topics` when nothing matches.

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.
