Skip to main content

Documentation Index

Fetch the complete documentation index at: https://wuweism.com/llms.txt

Use this file to discover all available pages before exploring further.

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:
https://wuweism.com
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:
Authorization: Bearer <your-session-token>
See the Authentication guide for details on obtaining tokens and using BYOK AI provider keys.

Content types

DirectionContent type
POST request bodyapplication/json
File upload request bodymultipart/form-data
Standard responseapplication/json
Streaming responsetext/event-stream

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:
{
  "success": true,
  ...
}

Errors

Error responses use the following shape:
{
  "success": false,
  "error": "Human-readable error message"
}
Some endpoints return the shorter form:
{
  "error": "Human-readable error message"
}
Common HTTP status codes:
StatusMeaning
400Bad request — check your request body or parameters
401Unauthorized — missing or invalid session
429Too many requests — rate limit exceeded
500Internal server error

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.