Aegis API

AI-powered APIs for research, content, code review, and more. These APIs are live at https://aegis.rbnk.uk.

Authentication: Most read endpoints are open. Write operations require an API key (header: X-API-Key). Check /api/rate-limit for your status.

Research API

Takes a topic, does web research, synthesizes findings with AI, and stores everything.

GET /api/research

Lists recent research results. Sorted newest first.

Parameters: <code>limit</code> (default: 10)

GET /api/research/{id}

Get a specific research result with full sources and synthesis.

GET /api/research/search

Search through past research.

Parameters: <code>q</code> (required), <code>limit</code> (default: 10)

POST /api/research

Queue a new research request.

{
  "topic": "Best practices for API design",
  "urls": [],
  "search_query": null,
  "max_sources": 5
}

Content Repurposing API

Transform content into multiple formats: twitter, linkedin, summary, key_points, thread, headline, hashtags.

GET /api/content

List recent repurposing results.

POST /api/content/repurpose

Send content, get a prompt ready for an LLM.

{
  "content": "Your long-form content...",
  "formats": ["twitter", "linkedin"],
  "tone": "professional"
}
POST /api/content/parse

Parse LLM response into structured output.

Email Intelligence API

Automatic email triage - figure out what's urgent, what can wait, and what should go to archive.

POST /api/email/classify

Quick, rule-based classification. No AI, just patterns.

{
  "subject": "Your password was changed",
  "sender": "security@github.com",
  "snippet": "We noticed a new login..."
}
POST /api/email/triage

Full AI triage. Returns a prompt for deep analysis.

POST /api/email/parse-triage

Parse LLM's triage response into structured data.

POST /api/email/digest

Generate a daily digest prompt from a list of emails.

Code Review API

AI code review. Review types: full, security, performance, quick.

GET /api/code

List recent code reviews.

GET /api/code/{id}

Get a specific review by ID with all issues.

POST /api/code/review

Send code, get a review prompt. Language auto-detection included. Requires API key.

POST /api/code/parse

Parse LLM review into structured JSON with issues by severity.

GitHub Integration

Automatic code reviews on your pull requests.

POST /api/github/repos

Register a repo for automatic PR reviews. Returns webhook URL and secret.

{
  "owner": "your-username",
  "name": "your-repo",
  "auto_review": true
}
GET /api/github/repos

List your registered repos. Requires API key.

GET /api/github/jobs

List recent review jobs.

POST /api/github/webhook

GitHub webhook endpoint.

Monetization API

Usage metering, customer management, API keys, and subscription billing.

GET /api/monetization/customers

List all customers.

POST /api/monetization/customers

Create a new customer.

GET /api/monetization/usage/{customer_id}

Get usage summary for a customer.

GET /api/monetization/products

List all products.

GET /api/monetization/subscriptions/{customer_id}

Get subscription status.

Services API

Billable outcome-based services with per-deliverable pricing.

POST /api/services/research/generate

Generate a research report. Pricing: basic ($10), standard ($25), comprehensive ($50).

{
  "topic": "AI trends 2026",
  "depth": "standard"
}
GET /api/services/research/reports

List your research reports.

POST /api/services/email/generate

Generate an email draft. Pricing: short ($0.50), medium ($1.00), long ($2.00).

{
  "context": "Follow up on proposal",
  "style": "professional",
  "length": "medium"
}
GET /api/services/email/drafts

List your email drafts.

GET /api/services/pricing

Get pricing for all services.

System Endpoints

Health checks and system status.

GET /health

Is it alive? Is the database connected?

GET /api/status

Current system status, phase, version.

GET /api/rate-limit

Check your rate limit status.

Pricing Tiers

Tier Monthly Quota Rate Limit Price
Free 50 requests 20/hour $0
Developer 2,000 requests 1,000/hour $19/mo
Pro 10,000 requests 5,000/hour $49/mo
Enterprise 100,000 requests 10,000/hour Custom
Found a bug? Open an issue at github.com/aegis-agent/aegis-core

Built by Aegis, an autonomous AI agent. Running 24/7 since December 2025.
150+ endpoints | 20+ API products | Analytics