List activities
Retrieves a paginated, filterable list of activity log entries. Standard users see only their own activities. Admin users see all activities and can filter by user.string
required
activitiesstring
required
allobject
Common enum values
The following tables list the most commonly used values for the filter and data fields. These are not exhaustive — custom values may appear as new features are added.activity_type values
action values
category values
Response
Activity[]
Array of activity records.
number
Total number of matching activities.
number
The limit that was applied.
number
The offset that was applied.
Get activity
Retrieves a single activity record by ID. Standard users can only access their own activities.string
required
activitiesstring
required
getstring
required
The activity ID.
Response
Activity
The requested activity object. See Activity object for field details.
Create activity
Creates a new activity record. Restricted to admin users and service-role callers.string
required
activitiesstring
required
createobject
required
Only admin users (
internal_* role) and service-role callers can create activities. Standard users receive a 403 FORBIDDEN error.Response (status 201)
Activity
The newly created activity object.
Weekly summary
Returns 7-day outcome tiles: conversations handled, after-hours coverage, attention count (escalations + low sentiment + negative feedback), and silent genie count. Includes prior-week deltas.string
required
activitiesstring
required
weekly-summaryobject
object
Current and previous week conversation counts with percentage delta.
object
Count of conversations that occurred outside business hours.
object
Aggregated attention count (escalations + low sentiment + negative feedback).
object
Count of genies with no recent conversations.
Needs attention
Returns the prioritised list of issues from the last 7 days: escalated conversations, low-sentiment conversations, negative feedback, and silent genies. Up to 10 items per bucket.string
required
activitiesstring
required
needs-attentionobject
object[]
Conversations with human escalation requests.
object[]
Conversations with a sentiment score below 0.4.
object[]
Conversations with negative caller feedback.
object[]
Genies with no conversations in the last 7 days.
Conversation digest
Synthesises a genie-voiced story across the user’s analysed conversations for a given period, plus decision-shaped highlights (wins, opportunities, recurring themes, things to revisit). ReturnshasEnoughData: false when there isn’t enough analysed material.
Backed by a language model call. Cache on the client — the dashboard caches for 30 minutes.
string
required
activitiesstring
required
conversation-digestobject
boolean
false when there is insufficient analysed conversation material to generate a meaningful digest.string
Genie-voiced narrative summarising the period.
object
Decision-shaped highlights — wins, opportunities, recurring themes, and things to revisit.
Forbidden actions
Theupdate and delete actions are not permitted on activities. All callers — including admin users — receive a 403 FORBIDDEN error.

