API ReferenceKadambini
Get Entity
Get a single entity by ID with all aliases and relations.
GET /kadambini/v1/entity/{entity_id}
Get a single entity by ID with all aliases and relations.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
entity_id | string | Yes |
Response
| Field | Type | Description |
|---|---|---|
id | string | Id |
canonical_name | string | Canonical Name |
name_sanskrit | `string | null` (optional) |
name_iast | `string | null` (optional) |
entity_type | string | Entity Type |
entity_subtype | `string | null` (optional) |
description | `string | null` (optional) |
mention_count | integer (optional) | Mention Count |
text_count | integer (optional) | Text Count |
tags | `array | null` (optional) |
aliases | EntityAliasOut[] | Aliases |
relations | EntityRelationOut[] | Relations |
Examples
curl
curl -H "X-API-Key: vz_live_YOUR_KEY" \
"https://api.vibz.art/kadambini/v1/entity/ent_abc123"Python
from vibzart import Vibzart
client = Vibzart(api_key="vz_live_...")
result = client.kadambini.entity("ent_abc123")
print(result.data)TypeScript
import { Vibzart } from "@vibzart/sdk";
const client = new Vibzart({ apiKey: "vz_live_..." });
const result = await client.kadambini.entity("ent_abc123");
console.log(result.data);Search Corpus
Search verses in the Sanskrit corpus. Modes: - fulltext: Search verse text (IAST + SLP1) using Postgres full-text search - translation: Search English/Hindi translations Results ranked by relevance (ts_rank).
Predict Ner
Run NER on a single Sanskrit text (IAST or Devanagari). Returns entities with type, confidence score, and word-level positions. Entity types: DEITY, PERSON, RISHI, PLACE, TEXT, CONCEPT, CELESTIAL, FLORA, LINEAGE, MANTRA.