# Delegate hub

Hub sessions and counts, companies, delegate accounts, briefings, actions and connections.

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

### GET /v1/delegate-accounts/{account_id}/generated

Delegate generated

What Audiobly generated for the delegate, in one shape for both cards:
`{status, data: {kind, day, built_at, payload: {actions: [{title, text, audience, session_id,
timestamp_seconds}], …}}}`. `kind=actions` is Actions for your business (the same content as
`GET …/actions`; `payload` also carries `basis`); `kind=briefing` is the day's briefing (the
same as `GET …/briefings`, with `day`/`as_of`; `payload` also carries headline,
what_happened, top_themes, quote, catch_today, next_steps and speech_text). `data` is null
while `status` is "not_ready", "building" without an earlier version, or "failed". Errors as
for those endpoints. Requires the organisation's API key.

Scope: prep_manage

Parameters:

- `account_id` (path, string (uuid), required)
- `event_id` (query, string (uuid), required)
- `kind` (query, string, required)
- `day` (query, string (date))
- `as_of` (query, string (date-time))

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.
