Knowledge Bases

Retrieve authoritative African legal context for AI, search and workflow tools.

A Knowledge Base is a searchable legal collection for a place and content type, such as national legislation, municipal by-laws or court judgments.

Use Knowledge Bases when your application needs relevant legal context but does not need to store and maintain full legal collections itself. They are the fastest way to build legal AI assistants, RAG systems, legal agents, semantic search and workflow tools grounded in African legal information.

When you query a Knowledge Base, Laws.Africa runs text and semantic search over maintained legal collections and returns the best matching results with:

  • legal text or summaries;

  • source metadata;

  • public URLs for inspection and citation;

  • a match score.

What you can build

Knowledge Bases are useful for:

  • grounding legal AI answers in maintained sources;

  • retrieving legal context for RAG pipelines;

  • powering semantic legislation or judgment search;

  • giving agents a legal retrieval tool;

  • triaging legal research questions before deeper review.

Start here

Quick startConceptsUse results in your app

API endpoint

Knowledge Bases are available at:

The Knowledge Base retrieve endpoint is:

See the reference for endpoint details.

Last updated