Kitbase developer resources
The REST API and its OpenAPI specification, authentication, errors and rate limits, webhooks, the hosted MCP server, the CLI and the SDKs — at predictable URLs, for people and for agents.
REST API
Kitbase API reference
Endpoints with curl examples: events, identify, server-side crawler ingestion, status codes and rate limits.
docs.kitbase.dev/api-reference
Kitbase OpenAPI specification
OpenAPI 3.0 document for the public surface — every operation with an operationId, description, typed parameters, response schemas and a typed error model. Also as YAML.
kitbase.dev/openapi.json · api.kitbase.dev/openapi.json
Authentication & API keys
Private API keys (sk_kitbase_…) via Authorization: Bearer or X-API-Key, SDK keys (pk_kitbase_…) for ingestion, user sessions for the dashboard and CLI. Keys carry the permissions of the user who created them, scoped to one project.
docs.kitbase.dev/api-reference#authentication
Errors, rate limits, versioning
One JSON error envelope with a stable machine-readable code, RateLimit / X-RateLimit headers on every response, Retry-After on 429, and a deprecation policy with Deprecation + Sunset headers.
docs.kitbase.dev/api-reference#http-status-codes
Agents
Kitbase MCP server
Hosted Model Context Protocol server (Streamable HTTP) at api.kitbase.dev/mcp. OAuth 2.1 with PKCE for claude.ai and Claude Desktop, or a private API key for headless clients. 180 tools for querying and managing a project.
https://api.kitbase.dev/mcp
MCP server card & catalog
Machine-readable connection details for the MCP server (application/mcp-server-card+json), advertised in /.well-known/ai-catalog.json on this domain.
api.kitbase.dev/mcp/server-card · kitbase.dev/.well-known/ai-catalog.json
llms.txt & Markdown pages
An llms.txt index for this site and one for the docs. Every page on kitbase.dev is served as Markdown when you send Accept: text/markdown (or append .md to the URL); docs pages have .md twins too, and llms-full.txt is the whole documentation in one file.
kitbase.dev/llms.txt · docs.kitbase.dev/llms.txt · docs.kitbase.dev/llms-full.txt
Kitbase project assistant
Ask about a project in plain language from the dashboard (or Slack); it reads data through the same tools the MCP server exposes, with the same permission checks.
docs.kitbase.dev/guide/assistant
Tooling & SDKs
Kitbase CLI (@kitbase/cli)
npm install -g @kitbase/cli. Browser-based login or API-key auth, --json output for scripting, and a command for every public API operation.
npmjs.com/package/@kitbase/cli
JavaScript / TypeScript SDK
@kitbase/analytics — pageviews, custom events, identify, sessions and feature flags for browsers and Node.js.
npmjs.com/package/@kitbase/analytics
React & Angular integrations
@kitbase/analytics-react and @kitbase/analytics-angular wrap the core SDK with providers, hooks and services.
docs.kitbase.dev/sdks/react · docs.kitbase.dev/sdks/angular
Tracking script
One script tag from kitbase.dev/lite.js, ~3 KB gzipped, no build step, cookie-free.
docs.kitbase.dev/tracking-script
Self-hosting & open source
Run Kitbase yourself with Docker Compose, or read the SDK source on GitHub. Open-source projects get Kitbase free.
github.com/scr2em/kitbase-sdk
Conventions you can rely on
- Base URL.
https://api.kitbase.dev; ingestion also answers onhttps://ingest.kitbase.dev. The public surface is version 1 and path-stable; breaking changes ship under a new prefix. - One error shape.
Every non-2xx response is
{ error: { code, message, details }, timestamp }with a stable, machine-readablecode(AUTH_003,PERM_001, …). - Rate limits you can read.
RateLimit-Policy,RateLimitandX-RateLimit-*on every response,Retry-Afteron a 429. - Deprecation you can see coming.
An operation marked
deprecated: truein the spec sendsDeprecation,Sunsetand aLink rel="deprecation"header for at least 90 days before removal. - Markdown on request.
Send
Accept: text/markdownto any page on kitbase.dev, or append.md(docs.kitbase.dev pages have.mdtwins as well). Unknown URLs return a real404— as Markdown, with links to recover from, if that is what you asked for.