The API reference tab lists SDK operations fromDocumentation Index
Fetch the complete documentation index at: https://docs.kansato.com/llms.txt
Use this file to discover all available pages before exploring further.
openapi.json. Use Try it against a running API (for example http://localhost:3001). Feature-specific organization routes may appear in the server’s Swagger UI even when not yet mirrored in this bundle—when in doubt, treat the running server as source of truth.
Base URL
SDK operations in this spec use:http://localhost:3001 with the same path prefix.
Organization-scoped REST routes (dashboard, AI, attachments) typically live under /api/v1/organizations/{orgSlug}/.... See Developer access and Kuro AI for examples.
Authentication
| Type | Prefix | Scope | Where to use |
|---|---|---|---|
| Secret | sk_live_ | Full server-side access | Your backend only |
| Publishable | pk_live_ | Create reports, list report reasons | Browser (React SDK) |
POST /projects/:projectId/reports and GET /projects/:projectId/report-reasons on the SDK mount). Other SDK routes return 403 with a publishable key.
Rate limiting
Report creation is limited to 10 requests per minute per API key. When exceeded, responses may include:retryAfter is seconds until the window resets (when provided).
Errors
Failures return JSON such as:Data model
Project
projectId is the stable UUID from the dashboard, not the display name. A workspace can host multiple projects.
Identity
Keyed by project + identitytype + externalId. Mirrors a user (or actor) on your platform. Upsert semantics preserve existing display fields when you send empty or omitted values—see the identities endpoints in the reference.
Case
A case is the canonical moderation envelope — one incident tied to content (target), optional reporter/subject identities, and linked duplicate reports.| Field | Values |
|---|---|
| Status | OPEN, TRIAGED, IN_REVIEW, RESOLVED, DISMISSED, APPEALED, CLOSED |
| Severity bucket | emergency, high, normal (assigned at intake) |
| Reason severity hint | LOW, MEDIUM, HIGH, CRITICAL (from linked report reasons) |

