Renovar el token de un disparador de API
POST/ai-agents/:id/triggers/:triggerId/token
Issues a new token for an api trigger; the previous one stops working at once. The token is returned only in this response. Requires scope finance/ai_agents with access level write. Takes no X-Idempotency-Key, for the same reason as the create.
Solicitud​
Respuestas​
- 200
- 401
- 403
- 404
- 422
- 429
- 500
The trigger and its new token.
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.
The trigger is not an api trigger.
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.