You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server: HMAC with key_id/secret_key on /rpc endpoints.
Formation: X-MUXI-CLIENT-KEY or X-MUXI-ADMIN-KEY on /api/{formation}/v1 (default); override base_url for direct access (e.g., http://localhost:9012/v1).
Idempotency: X-Muxi-Idempotency-Key auto-generated on every request.
SDK: X-Muxi-SDK, X-Muxi-Client headers set automatically.
Timeouts, Retries, Debug
Default timeout: 30s (no timeout for streaming).
Retries: max_retries (exponential backoff) on 429/5xx/connection errors.
Debug logging enabled when debug=True or MUXI_DEBUG is set.
Streaming
Chat/audio: POST /chat or /audiochat with stream=True; consume SSE events.
Deploy/log streams: use corresponding methods returning generators/async generators.
Error Handling
Non-2xx raise typed errors (AuthenticationError, AuthorizationError, NotFoundError, ValidationError, RateLimitError, ServerError, ConnectionError) with code, message, status_code and optional retry_after.
Responses unwrap envelopes and include request_id and timestamp when provided.
Pagination
Endpoints using limit/has_more return the raw response; pass limit as needed.
Webhook Verification
For async operations, MUXI delivers results via webhooks. The SDK provides helpers to verify signatures and parse payloads.