← Back to DocsAPI Reference
Lexic.io API
Build powerful integrations with our RESTful API. Full access to notes, entities, and the knowledge graph.
Base URL
https://app.lexic.io/api/v1API endpoints are served from the main application domain.
Authentication
Personal Access Tokens
For server-to-server integrations. Generate tokens in your workspace settings with customizable scopes.
Authorization: Bearer pat_xxxxxxxx_...OAuth 2.0
For user-facing applications. Supports authorization code flow with PKCE.
Authorize: https://lexic.io/oauth/authorizeRate Limits
1,000
requests/minute (Free)
10,000
requests/minute (Pro)
Custom
requests/minute (Enterprise)
Endpoints
GET
/api/v1/notesList all notes with pagination and filtering
POST
/api/v1/notesCreate a new note with automatic entity extraction
GET
/api/v1/notes/:idRetrieve a specific note by ID
PUT
/api/v1/notes/:idUpdate an existing note
DELETE
/api/v1/notes/:idDelete a note (soft delete)
GET
/api/v1/entitiesList all extracted entities across notes
GET
/api/v1/graphRetrieve knowledge graph connections
POST
/api/v1/searchSemantic search across your knowledge base
GET
/api/v1/usageGet current word usage and remaining allocation
Quick Example
Create a note
curl -X POST https://app.lexic.io/api/v1/notes \
-H "Authorization: Bearer pat_xxxxxxxx_your_token" \
-H "Content-Type: application/json" \
-d '{
"title": "Meeting with Product Team",
"content": "Discussed Q2 roadmap with Sarah and Mike...",
"extractEntities": true
}'Response
200 OK
{
"id": "note_abc123",
"title": "Meeting with Product Team",
"content": "Discussed Q2 roadmap with Sarah and Mike...",
"entities": [
{ "type": "person", "name": "Sarah", "id": "ent_xyz" },
{ "type": "person", "name": "Mike", "id": "ent_uvw" },
{ "type": "concept", "name": "Q2 roadmap", "id": "ent_rst" }
],
"wordsProcessed": 847,
"createdAt": "2025-01-15T10:30:00Z"
}