Get Deploy History
GET
/api/v1/admin/deploy-status/history
const url = 'https://api.ultimateteam.ai/api/v1/admin/deploy-status/history?window_days=30';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/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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”window_days
Window Days
integer
Responses
Section titled “ Responses ”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>
RollbackEventOne 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>
DeployEvidenceOne 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
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>
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" } ]}