Actualizar disparador de un agente de IA
PATCH/ai-agents/:id/triggers/:triggerId
Partial. active pauses or resumes the trigger; event_type applies to event triggers; cron and timezone to schedule triggers (the next run is recomputed from now). Requires scope finance/ai_agents with access level write.
Solicitud​
Respuestas​
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
Updated trigger.
Malformed JSON body.
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.
X-Idempotency-Key reuse with a different body, or duplicate_event (the agent already listens to it).
Schema validation failure, a field that does not apply to the kind, or an invalid schedule (details.reason).
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.