Skip to content

Get Deploy History

GET
/api/v1/admin/deploy-status/history
curl --request GET \
--url 'https://api.ultimateteam.ai/api/v1/admin/deploy-status/history?window_days=30' \
--header 'X-API-Key: <X-API-Key>'

Return smoke-test history + auto-rollback timeline.

Requires platform-operator authority. window_days is clamped to [1, 90] to cap query cost.

window_days
Window Days
integer
default: 30

Successful Response

Media typeapplication/json
DeployHistoryResponse

Top-level response for GET /admin/deploy-status/history.

object
evidence_files
Evidence Files
Array<string>
rollback_timeline
Rollback Timeline
Array<object>
RollbackEvent

One DEPLOY_AUTO_ROLLBACK_TRIGGERED event from team_events.

object
build_id
Build Id
string
""
failed_revision
required
Failed Revision
string
occurred_at
required
Occurred At
string
reason
Reason
string
""
rolled_back_to
required
Rolled Back To
string
service
required
Service
string
smoke_history
Smoke History
Array<object>
DeployEvidence

One entry in .planning/deploys/ (DPE-01 auto-evidence).

object
build_id
required
Build Id
string
file_path
required
File Path
string
rolled_back
Rolled Back
boolean
smoke_status
Smoke Status
string
default: unknown
Example
{
"rollback_timeline": [
{
"build_id": "",
"reason": ""
}
],
"smoke_history": [
{
"rolled_back": false,
"smoke_status": "unknown"
}
]
}

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