Atualizar agente de IA
PATCH/ai-agents/:id
Partial update. active: false pauses every automatic trigger (schedule, event, API) and active: true resumes them, recomputing the next scheduled run from now. Triggers are managed under /ai-agents/{id}/triggers. Requires scope finance/ai_agents with access level write.
Requisição
Respostas
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
Updated agent.
Malformed JSON body.
Missing / invalid / expired / revoked token.
Token lacks the finance/ai_agents scope or the write access level, or the person lacks ai-agents.update.
AI agent not found among the token person's agents in the workspace.
X-Idempotency-Key reuse with a different body.
Schema validation failure.
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.