Home
API Documentation
Complete reference for the Aging Research News API
Quick Start
Base URL
https://www.agingresearch.news
Authentication
Cookie-based sessions
Rate Limiting
100 requests/minute
Example Request
curl -X POST https://www.agingresearch.news/api/auth/login \
-H "Content-Type: application/json" \
-d '{"username": "admin", "password": "your-password"}'
Authentication
POST
/api/auth/login
Login with username and password
POST
/api/auth/logout
Logout current user session
GET
/api/auth/me
Get current user information
Brief Generation
POST
/api/generate-brief
Generate a comprehensive brief from analyzed articles
POST
/api/generate-brief/tag-based
Generate brief based on selected tags
Content Analysis
POST
/api/analyze
Analyze scraped articles for insights
POST
/api/scrape
Scrape articles from configured RSS sources
GET
/api/intelligence/contradictions
Get detected contradictions between articles
GET
/api/intelligence/gaps
Get identified information gaps
Configuration
GET
/api/sources
Get all RSS sources
POST
/api/sources
Add a new RSS source
GET
/api/prompts
Get all system prompts
PUT
/api/prompts/{id}
Update a system prompt
Rate Limiting
API requests are limited to prevent abuse and ensure fair usage for all users.
100 requests per minute for authenticated users
10 requests per minute for unauthenticated requests
Exceeded limits return 429 Too Many Requests