Read an error
Errors use a JSON envelope:details. Log the HTTP status, error code, and X-Request-Id response header. Exclude API keys and customer message bodies from logs unless your own data policy requires them.
Use idempotency for supported writes
Endpoints that documentIdempotency-Key can protect retries against duplicate writes. Generate one unique key per logical action and keep it stable across retries of that same action.
Idempotency-Replayed: true. Conflicting payloads or an in-progress request can return 409.
If a write times out, it may already have completed. Use the original idempotency key when the endpoint supports it; otherwise inspect the resource before repeating the operation.
Keep the original request
The standard REST idempotency mechanism compares the method, path, raw query string, and body bytes. Reformatting JSON or reordering query parameters changes that comparison. Serialize the request once and retain it with the key until the outcome is known. Standard REST keys are scoped to the workspace and retained for 24 hours from reservation. Use a unique key for every logical action across the workspace, even when different API credentials perform the actions. After expiry, the same key can be treated as a new request; inspect the resource before replaying an old action. Standard REST keys accept 8–255 printable, non-space ASCII characters. A UUID works well. Help Center authoring has the narrower format described below; use the endpoint’s documented requirements.
Idempotency protects supported request retries. It does not guarantee exactly-once effects across your application and an external message provider.
Bound your retries
Retry reads after transient network failures or retryable server errors. Retry writes only when their contract and idempotency support make repeating them safe. A useful starting policy is up to three retries with exponential backoff and random jitter, constrained by an overall deadline; choose the values for your workload. RespectRetry-After when present. If that delay exceeds your deadline, stop and surface the failure rather than retrying early. For permanent input, authentication, or permission failures, fix the cause first. See Rate limits for header meanings and shared budgets.
Retry Help Center proposals
Authoring writes require an idempotency key. MCP proposal tools take it asidempotencyKey; HTTP requests use the header. Use 8–128 printable, non-space ASCII characters.
For a revision conflict, fetch the latest article and ask for a new review decision. Do not silently overwrite newer content. An uncertain network result should be retried only with identical arguments and the original key.