← Production readiness overview

Retries & idempotency

How to replay traffic without duplicating side effects.

Overview Auth & keys Webhooks Retries Rate limits Monitoring Data & audit

Client retry policy

Idempotency matrix (API)

OperationMechanismNotes
POST .../agents/:id/executeJSON idempotency_keySame agent + key returns stored outcome when previously completed.
POST .../agents/:id/inferenceidempotency_keySame behavior family as execute for template inference paths.
POST .../agents/:id/score_leadidempotency_key in bodyUse inbound event id or stable composite key.
POST /workflowsNone (default)Each call can create a new workflow — dedupe in your orchestrator.
POST /workflows/:id/testN/ASafe to retry for debugging; may create multiple test records depending on version.
POST /webhooksN/ANew subscription per request — avoid accidental duplicates.

Operational notes

Inspect GET /api/v1/agents/:id/executions to confirm whether a retried call attached to an existing execution row. Failed executions may be visible separately from successful deduplicated replays.

Next: Rate limits →