Get Kill Switch Status
GET
/api/v1/admin/kill-switch/status
const url = 'https://api.ultimateteam.ai/api/v1/admin/kill-switch/status';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/kill-switch/status \ --header 'X-API-Key: <X-API-Key>'Check the current kill switch status.
Returns whether the kill switch is active for the given tenant or globally. Requires platform-operator access.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
KillSwitchResponse
Response body for kill switch operations.
Attributes: action: The action performed (halt, resume, status). scope: Whether the action is tenant-scoped or global. tenant_id: The tenant affected (None for global). active: Whether the kill switch is currently active. reason: The halt reason (empty if not active).
object
Example
{ "reason": ""}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" } ]}