Skip to main content

API Overview

cogmem-kos exposes a REST API via FastAPI.

Base URL

Authentication

Authentication is not implemented in v1. All endpoints are open. Future versions will support API keys and OAuth.

Endpoints

Common Parameters

Tenant ID

All queries require a tenant_id for multi-tenant isolation:

User ID

Optional user_id for user-level scoping:

Response Format

All responses are JSON with consistent structure:

Success

Error

Rate Limits

No rate limits in v1. Production deployments should add rate limiting via API gateway.

OpenAPI Spec

The OpenAPI specification is available at:
Interactive docs:

Next Steps

Search

Search endpoint details

Items

Item CRUD operations

Entities

Entity page endpoint

Health

Health check endpoint