Remove a trigger from an AI agent
DELETE/ai-agents/:id/triggers/:triggerId
Removes the trigger (and, for a schedule, its schedule). Runs it started stay in the assistant. Requires scope finance/ai_agents with access level delete.
Request​
Responses​
- 200
- 401
- 403
- 404
- 429
- 500
Trigger removed.
Missing / invalid / expired / revoked token.
Token lacks the finance/ai_agents scope or the method's access level (write, or delete to remove), or the person lacks ai-agents.update.
AI agent (or trigger) not found among the token person's agents in the workspace.
Rate limit exceeded for this token. Reads and writes have separate budgets, both on a 1-hour sliding window. The response carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset and Retry-After — wait out Retry-After rather than retrying immediately.
Unhandled server error.