Developer Documentation
Build on LineAI
Complete API reference, SDKs, and technical documentation for building custom applications on LineAI's operational memory infrastructure.
Quick Start
Get up and running in minutes with our REST API or official SDKs.
1. Get API Credentials
2. Install SDK
3. Make First Call
Complete Example
API Reference
Authentication
Base URL: https://api.getline.ai/v1
Auth Header: Authorization: Bearer YOUR_API_KEY
Rate Limits
- • Standard: 1000 requests/hour
- • Burst: 100 requests/minute
- • High-Volume: 10,000 requests/hour (contact us)
Example Request
Projects Endpoint
GET /v1/projects
List all projects with status, progress, team, and blockers.
POST /v1/projects
Create a new project with name, budget, timeline, and team members.
Operational Memory
POST /v1/memory/query
Query operational memory using natural language. Returns contextualized results with recommendations.
Request
Response
Memory Cards API
Portable units of operational context that work with any LLM or AI system (ChatGPT, Claude, MCP-compatible).
GET /v1/memory/cards/{card_id}
Webhooks
Setup
Receive real-time notifications for project updates, blockers, memory snapshots, and more.
Payload Example
Event Types
Project Events
- • project.created
- • project.updated
- • project.blocker.added
- • project.blocker.resolved
Memory Events
- • memory.snapshot.completed
- • memory.card.updated
- • integration.sync.completed
Official SDKs
JavaScript / TypeScript
Python
Security Best Practices
DO
- • Store API keys in environment variables
- • Use separate keys for dev/staging/production
- • Rotate keys periodically
- • Scope keys to minimum required permissions
- • Always verify permissions in your backend
DON'T
- • Commit API keys to version control
- • Share API keys across teams
- • Use production keys in development
- • Hardcode keys in application code
- • Expose API keys in frontend code
Resources & Support
Documentation
- • API Reference
- • SDK Documentation
- • Guides & Tutorials
- • Example Projects
Community
- • Discord Community
- • GitHub Discussions
- • Stack Overflow
- • Example Code Repos
Support
- • Email: developers@getline.ai
- • Response: <24 hours
- • Priority for enterprise
- • API Status Page