Extract-it API
The Extract-it API provides information extraction capabilities service. It supports entity extraction, relation extraction, and summarization in a unified interface.
Available Endpoints
- General Entity Extraction - Extract named entities and spans from text using prompted entity extraction
- Relation Extraction - Extract relationships between entities in text
- Summarization - Generate summaries of text content
Getting Started
All Extract-it API endpoints require authentication:
| Header | Description |
|---|---|
KnowledgatorAPI-Key | Your API key |
Content-Type | application/json |
SDK Usage
💡 Dedicated SDK Guides: See Python SDK | TypeScript SDK
TypeScript/JavaScript
import { createClient } from '@knowledgator/typescript-sdk';
const kg = createClient('YOUR_API_KEY');
// Use any of the extract-it endpoints
const result = await kg.extract.it(...);
Python
from knowledgator import Knowledgator
kg = Knowledgator(api_key="YOUR_API_KEY")
# Use any of the extract-it endpoints
result = kg.extract.it(...)
For detailed documentation on each endpoint, click on the links above.