ModusOptions
TypedDict
Constructor options for Modus, AsyncModus, and ModusManagement.
Pass these as keyword arguments to the client constructor — you rarely construct this TypedDict yourself.
Keys:
-
api_key— Modus API key; falls back toMODUS_API_KEY -
base_url— API origin without a path suffix (defaulthttps://api.getmodus.com) -
timeout— seconds orhttpx.Timeout(default 5s connect / 300s read) -
max_retries— retries on 429/5xx (default 2) -
agent_host/organization_id/base_urls— staging/local escape hatches; usually omit