Skip to main content
The profClaw API is a JSON REST API built with Hono. All endpoints are served on the same port as the UI (default 3000).

Base URL

For production deployments, replace localhost:3000 with your server’s hostname. All routes are prefixed with /api.

Authentication

profClaw supports three authentication modes configured via system.authMode in settings:

Rate Limits

Rate limit responses return HTTP 429 with:

Error Format

All errors follow a consistent shape:
Common HTTP status codes:

Pagination

List endpoints support both offset-based and cursor-based pagination:
Responses include nextCursor when more results are available. Cursor values are opaque base64url-encoded strings encoding { createdAt, id }.

Content Types

All request and response bodies use application/json. Streaming endpoints use text/event-stream (SSE).

Versioning

The API is currently unversioned. Breaking changes will be announced in the changelog and migration guides provided.