Dike
Dike Developer Studio Banner Artwork

Build with Dike

Build grounded legal AI agents with Dike's REST and gRPC surfaces (gRPC currently mirrors Search and Reason). Explore endpoint specifications, see request/response shapes, and inspect real verified citation examples.

ProtocolREST & gRPC
Citations100% Grounded
FormatsJSON / Protobuf

Visual Reference

Visual domain maps and citation graph artwork principles for Dike legal modules.

Grounding Verification
reason

Grounding Verification

Hallucination guard pipeline verifying model citations against official legal sources.

Explore API
Dense Citation Graph
search

Dense Citation Graph

Hybrid semantic & lexical index connecting statutory codes and case law across MENA.

Explore API
Arabic Citation Parser
citation

Arabic Citation Parser

Fluid Arabic numeral and decree resolution engine with digit normalization.

Explore API
Graph Edge Traversal
graph

Graph Edge Traversal

BFS graph traversal mapping amendments, repeals, and implementing executive decrees.

Explore API
MENA Jurisdiction Grid
system

MENA Jurisdiction Grid

Capability discovery for the jurisdictions this instance actually routes queries to today: Saudi Arabia and Egypt.

Explore API

Endpoint Explorer

Select an API endpoint or gRPC service to test parameters, inspect code, and view live response frames.

Protocol:
Endpoints & Procedures8 Available
rest/v1/search
Bearer Authsearch

Hybrid semantic + lexical search over the legal corpus, with optional cross-encoder reranking.

SDK Code Snippet (curl)
curl
curl -X POST https://api.dike.it.com/v1/search \
  -H "Authorization: Bearer $DIKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "مسؤولية الناقل الجوي عن تأخير الرحلات",
    "top_k": 10
  }'
Verified Response Frame 200 OK Grounded
json / protobuf
{
  "results": [
    {
      "canonical_id": "eg-judgement-198267",
      "score": 0.785,
      "doc_type": "judgement",
      "title": "يتناول السؤال مدى تطبيق القانون بشكل صحيح، وتحديداً مسؤولية الناقل الجوي عن الضرر الناتج عن تأخير نقل الركاب بموجب اتفاقية مونتريال...",
      "snippet": "أن الناقل يعد مسؤولاً عن الضرر الناتج عن التأخير في نقل الركاب، وأنه لا يكون مسؤولاً عن الضرر الذي ينشأ عن التأخير إذا أثبت أنه اتخذ كافة التدابير المعقولة واللازمة لتفادي الضرر...",
      "year": 2021,
      "status": "final",
      "citation_string": "فتوى رقم 3016 لسنة 2021"
    }
  ],
  "took_ms": 1696,
  "fusion": "dense",
  "reranked": true
}
Implementation Notes
  • •top_k: 1-50, default 10.
  • •rerank and include_text both default to true.
  • •title is a generated summary of the document's content, not a short official name, since that's how the corpus is structured. Use citation_string for a formatted reference.

Authentication & Setup

Pass your API key as a Bearer token in the Authorization HTTP header or gRPC metadata.

REST Base URL
https://api.dike.it.comHTTPS / JSON
gRPC Target Endpoint
api.dike.it.com:9090Protobuf / gRPC
Early Access & Sandbox Keys

Ready to build grounded legal AI?

We are onboarding developers, legal-tech builders, and enterprise teams in cohorts. Apply on our join portal to specify your jurisdiction requirements and receive priority sandbox credentials.