docs.ojasos.com
OjasOS Documentation
Covers both current product APIs and the planned developer-facing API layer for integrations, business workflows, and AI-powered applications.
Getting Started
- • Base URLs
- • Authentication
- • Rate limits
- • Quick start guide
Core APIs
- • News Search
- • Domain Feeds
- • Trending
- • Ask / Chat
- • Document Upload
- • OCR & Processing
- • Memory & Threads
- • User Profile
Developer Experience
- • Python SDK
- • Node.js SDK
- • Go SDK
- • Webhook support
- • Error handling
- • Business integration examples
Base URLs
Platform: https://ojasos.com
App: https://app.ojasos.com
API: https://api.ojasos.com
Docs: /docs
Endpoints
GET
/news/searchSearch across public and domain-linked news layers.
GET
/feedFetch category-aware live feed data.
GET
/trendingGet trending items across selected verticals.
POST
/chat/messageAsk questions against OjasOS intelligence layers.
POST
/rag/uploadUpload PDF, image, or document files.
POST
/rag/processRun OCR, extraction, or parsing on uploaded files.
GET
/memoryFetch context-aware memory objects.
GET
/threadsRetrieve user thread history and continuity state.
GET
/user/profileGet authenticated user profile context.
python
import requests
API_KEY = "YOUR_API_KEY"
BASE_URL = "https://api.ojasos.com"
resp = requests.get(
f"{BASE_URL}/feed",
headers={"Authorization": f"Bearer {API_KEY}"},
params={"domain": "education", "limit": 10},
timeout=30,
)
print(resp.status_code)
print(resp.json())
go
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
client := &http.Client{}
req, _ := http.NewRequest("GET", "https://api.ojasos.com/feed?domain=finance&limit=10", nil)
req.Header.Set("Authorization", "Bearer YOUR_API_KEY")
res, err := client.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res.StatusCode)
fmt.Println(string(body))
}
node
const res = await fetch("https://api.ojasos.com/chat/message", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_KEY"
},
body: JSON.stringify({
query: "Summarize the latest government and education updates",
domain: "education"
})
});
const data = await res.json();
console.log(data);
Real-time Chat Layer
OjasOS supports a real-time chat layer for structured AI workflows and continuity.
wss://api.ojasos.com/chat