Documentation Index
Fetch the complete documentation index at: https://docs.secapi.ai/llms.txt
Use this file to discover all available pages before exploring further.
SDK reliability
The JavaScript and Python SDKs include safe-by-default retries, exponential backoff, and a client-side circuit breaker for transient Datastream failures.
Retry classification
- Auto-retried by default:
GET,HEAD,OPTIONS - Opt-in required:
POST,PUT,PATCH,DELETE, MCPtools/call - Always retried regardless of method:
429rate limits, withRetry-Afterhonored unless retry is disabled - Retryable failures: network errors,
408,429,502,503,504 - Never retried:
400,401,403,404,422
200ms, max backoff 5s, max retries 3, and total request budget 30s. The per-client circuit breaker opens after 5 consecutive terminal retryable failures and cools down for 60s.
TypeScript
Python
MCP tools/call
MCP tool calls are HTTPPOST, and the SDK cannot know whether the selected tool is read-only or mutating. Non-429 retries are off by default. Opt in per call only when the tool is read-only or your caller supplies an idempotency key.
Telemetry
The SDK emits anonymousclient_retry_attempt events when it retries. Telemetry includes SDK language/version, method, route template, origin, retry attempt, delay, status/error class, and elapsed time. It excludes API keys, request bodies, query strings, raw headers, and email addresses.
Set telemetry: false in TypeScript or telemetry=False in Python to opt out.