Skip to content

Get Runs

GET
/api/v1/self-improvement/runs
curl --request GET \
--url https://api.ultimateteam.ai/api/v1/self-improvement/runs \
--header 'X-API-Key: <X-API-Key>'

Return the last 50 self_improvement_run_log rows for the caller’s tenant, ordered by started_at DESC.

Optional ?run_type= filter restricts to a single run type. Requires SYSTEM_VIEW (chairman / operator / viewer).

run_type
Any of:
string

Successful Response

Media typeapplication/json
RunLogListResponse
object
items
required
Items
Array<object>
RunLogItem

A single self_improvement_run_log row exposed to the UI.

object
completed_at
required
Any of:
string format: date-time
id
required
Id
string format: uuid
inputs
required
Inputs
object
key
additional properties
any
outputs
required
Outputs
object
key
additional properties
any
run_type
required
Run Type
string
Allowed values: weekly_prompt_ab monthly_model_routing monthly_cost_rebalance
started_at
required
Started At
string format: date-time
status
required
Status
string
Allowed values: running completed failed
Example
{
"items": [
{
"run_type": "weekly_prompt_ab",
"status": "running"
}
]
}

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