agents
Trigger Agent Kill Switch
Fire the agent's configured kill switch webhook. Proxy admin only.
LiteLLM only makes the configured HTTP call and reports what came back; it does not change the agent's state in LiteLLM. Returns 200 when the webhook answered 2xx, 502 with the same result body otherwise. Every attempt is written to the audit log as a kill_switch_fired row against the agent.
Example Request:
curl -X POST "http://localhost:4000/v1/agents/123e4567-e89b-12d3-a456-426614174000/kill_switch" \
-H "Authorization: Bearer <your_api_key>"
post/v1/agents/{agent_id}/kill_switch
Request
- Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
- URL: https://docs.litellm.com.cn/v1/agents/{agent_id}/kill_switch
- Auth: API key in header x-litellm-api-key
Path parameters
agent_idstring required
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.