AgentCore API Documentation

High-performance API Gateway for Agentic AI Systems

Welcome to AgentCore API Gateway

AgentCore API Gateway provides a unified, high-performance entry point for all interactions with the AgentCore platform. Built on FastAPI, it delivers 60,000+ requests/second with enterprise-grade security and developer-friendly documentation.

Quick Start in 3 Steps:

  1. Authenticate: POST /auth/token with username/password
  2. Get Token: Copy the access_token from response
  3. Make Requests: Include token in Authorization: Bearer TOKEN header

Demo credentials: username: user, password: user123

Interactive API Explorer
Try endpoints in Swagger UI
API Reference
Complete documentation
GitHub Repository
View source code

🔐 Authentication

  • JWT tokens with RS256 signing
  • OAuth 2.0 (Google, GitHub, Microsoft)
  • Enterprise SSO (SAML, LDAP)
  • Automatic token refresh
  • Session management

⚡ High Performance

  • 60,000+ requests/second
  • <5ms routing latency
  • 10,000+ concurrent WebSocket connections
  • Async/await architecture
  • Connection pooling

🛡️ Security

  • Rate limiting per IP/user/endpoint
  • DDoS protection with auto-blocking
  • Input validation (XSS, SQL injection)
  • Security headers (HSTS, CSP, etc.)
  • TLS 1.3 support

📡 Real-time

  • WebSocket support
  • Server-Sent Events (SSE)
  • Event subscriptions
  • Automatic reconnection
  • Heartbeat monitoring

🔍 Observability

  • Prometheus metrics
  • Structured logging
  • Distributed tracing
  • Request/response logging
  • Performance monitoring

👨‍💻 Developer Experience

  • OpenAPI 3.0 specification
  • Interactive Swagger UI
  • Code examples (Python, JS, cURL)
  • <10 minute onboarding
  • Comprehensive error messages

📚 Documentation

💻 Code Examples

🔗 API Endpoints

Performance Targets

60,000+
Requests/Second
<5ms
p95 Latency
99.99%
Uptime
10,000+
Concurrent Connections

Support

Need help? We're here for you!