Skip to content

Per-tenant lifecycle journey timeline (platform operators)

GET
/api/v1/admin/tenant-lifecycle/{tenant_id}
curl --request GET \
--url 'https://api.ultimateteam.ai/api/v1/admin/tenant-lifecycle/example?limit=100' \
--header 'X-API-Key: <X-API-Key>'

Return the ordered lifecycle journey for tenant_id.

Requires platform-operator authority. The events are pulled from the BigQuery tenant_lifecycle_events table (DDL shipped in TLM-01).

tenant_id
required
Tenant Id
string
limit
Limit
integer
default: 100 >= 1 <= 500

Successful Response

Media typeapplication/json
TenantLifecycleResponse

Top-level envelope for the per-tenant journey timeline.

object
event_count
Event Count
integer
0
events
Events
Array<object>
LifecycleEvent

A single tenant-lifecycle event from BigQuery.

object
elapsed_seconds_since_previous
Any of:
number
elapsed_seconds_since_signup
Any of:
number
event_timestamp
required
Event Timestamp
string
event_type
required
Event Type
string
metadata
Any of:
string
tenant_id
required
Tenant Id
string
Example
{
"event_count": 0
}

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"
}
]
}