Skip to main content
Wu-Weism exposes a REST API that powers the causal science workbench. You can use it to build integrations, automate workflows, and access causal models programmatically.

Base URL

All API endpoints are relative to:
For example, the causal chat endpoint is at https://wuweism.com/api/causal-chat.

Authentication

Every API endpoint requires an authenticated session. Unauthenticated requests return 401 Unauthorized.
  • Browser clients — session cookies are set automatically after you sign in at wuweism.com. No extra configuration needed.
  • Programmatic access — obtain a session token and pass it in the Authorization header:
See the Authentication guide for details on obtaining tokens and using BYOK AI provider keys.

Content types

Streaming

Several endpoints stream results back to the client using Server-Sent Events (SSE). These endpoints set Content-Type: text/event-stream and send incremental data as events arrive.
Streaming endpoints keep the HTTP connection open until the full response is complete. Make sure your HTTP client supports SSE or chunked transfer encoding.

Rate limiting

Requests are subject to rate limits based on your plan. When you exceed your limit, the API returns 429 Too Many Requests. Contact support or upgrade your plan if you need higher throughput.

Response format

Success

Successful responses return HTTP 2xx with a JSON body. Most endpoints include a success field:

Errors

Error responses use the following shape:
Some endpoints return the shorter form:
Common HTTP status codes:

Endpoint groups

Causal chat

Streaming causal dialogue grounded in structural causal models (SCMs). Ask causal questions and receive evidence-backed answers in real time.

Hybrid synthesize

Multi-source synthesis pipeline. Combine evidence from different sources into a unified causal narrative.

Claims

Claim ledger access. Create, retrieve, and manage causal claims produced during your research sessions.

SCM

SCM model registry, interventions, traces, and integrity checks. Build and query structural causal models.

Epistemic analysis

Epistemic analysis endpoints. Assess confidence, identify assumptions, and surface knowledge gaps in causal arguments.

Legal reasoning

Legal causation analysis. Apply causal inference frameworks to legal fact patterns and causation standards.