Skip to content

Get recent activity feed

GET
/api/v1/activity/feed
curl --request GET \
--url 'https://api.ultimateteam.ai/api/v1/activity/feed?limit=50&offset=0' \
--header 'X-API-Key: <X-API-Key>'

Returns the most recent activity log entries for the authenticated tenant from PostgreSQL. Used for initial page load before Firestore real-time subscriptions take over.

limit
Limit

Items per page (max 100)

integer
default: 50 >= 1 <= 100

Items per page (max 100)

offset
Offset

Number of items to skip

integer
0

Number of items to skip

Successful Response

Media typeapplication/json
ActivityFeedResponse

Response envelope for the feed endpoint.

Attributes: items: List of activity feed entries. total: Total count of entries for this tenant. limit: Requested page size. offset: Requested offset.

object
items
required
Items
Array<object>
ActivityFeedItem

A single activity log entry in the feed response.

Attributes: id: Activity log entry UUID. agent_role: Which C-suite agent performed the action. agent_name: Human-readable agent display name. action_type: Classification category. title: Short summary of the action. description: Optional detailed description. action_data: Structured JSONB payload. event_type: Original event bus message type. correlation_id: Links related events across the pipeline. signature_status: unsigned (system records) | pending | signed | failed. occurred_at: When the action happened (ISO format). created_at: When the log entry was persisted (ISO format).

object
action_data
required
Action Data
object
key
additional properties
any
action_type
required
Action Type
string
agent_name
required
Any of:
string
agent_role
required
Agent Role
string
correlation_id
required
Any of:
string
created_at
required
Created At
string
description
required
Any of:
string
event_type
required
Event Type
string
id
required
Id
string
occurred_at
required
Occurred At
string
signature_status
required
Signature Status
string
title
required
Title
string
limit
required
Limit
integer
offset
required
Offset
integer
total
required
Total
integer
Examplegenerated
{
"items": [
{
"action_data": {},
"action_type": "example",
"agent_name": "example",
"agent_role": "example",
"correlation_id": "example",
"created_at": "example",
"description": "example",
"event_type": "example",
"id": "example",
"occurred_at": "example",
"signature_status": "example",
"title": "example"
}
],
"limit": 1,
"offset": 1,
"total": 1
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}