Per-tenant lifecycle journey timeline (platform operators)
GET
/api/v1/admin/tenant-lifecycle/{tenant_id}
const url = 'https://api.ultimateteam.ai/api/v1/admin/tenant-lifecycle/example?limit=100';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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).
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”tenant_id
required
Tenant Id
string
Query Parameters
Section titled “Query Parameters”limit
Limit
integer
Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
TenantLifecycleResponse
Top-level envelope for the per-tenant journey timeline.
object
event_count
Event Count
integer
events
Events
Array<object>
LifecycleEventA single tenant-lifecycle event from BigQuery.
tenant_id
required
Tenant Id
string
Example
{ "event_count": 0}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
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" } ]}