REST · JSON · CORS · No Auth
OCC Knowledge API
Open REST API for AI governance knowledge. No account, no rate limits, EU-hosted.
https://opencognitioncommons.org/api/occ No Auth CORS JSON CC-BY 4.0
Quickstart
# Health check
curl https://opencognitioncommons.org/api/occ/health
# Search
curl "https://opencognitioncommons.org/api/occ/search?q=High-Risk-AI&top=3"
# Glossary (all entries)
curl https://opencognitioncommons.org/api/occ/glossary
# Glossary with filter
curl "https://opencognitioncommons.org/api/occ/glossary?q=HITL" Endpoints
GET
/api/occ/health System health and statistics. Number of chunks, sources, API version.
GET
/api/occ/search BM25 full-text search over all 689 OCC chunks.
| Parameter | Type | Description |
|---|---|---|
q | string | Search query (required) |
top | int | Max results (default: 5) |
POST
/api/occ/rag Retrieval-Augmented Generation — context chunks for a question. Ideal for LLM integration.
{"query": "What are the obligations for high-risk AI?", "top_k": 5} GET
/api/occ/glossary 82+ AI governance definitions. Optional with search filter.
GET
/api/occ/sources Complete source registry with license, provenance and chunk count.
Try it live
Try it live
GET
License & Usage
The API and all responses are under CC-BY 4.0. Commercial use, LLM training and further processing explicitly allowed with attribution: Open Cognition Commons Foundation, opencognitioncommons.org