// documentation

PromptForge Docs

Everything you need to integrate PromptForge into your stack — REST API, authentication, and full endpoint reference.

Quick Start

Install the SDK or call the REST API directly. No dependencies required beyond your HTTP client.

Terminal
# No SDK needed — pure REST
curl -X POST https://promptforge-ebon.vercel.app/api/v1/compress \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"prompt": "Your long prompt here..."}'

Authentication

All API requests require a Bearer token. Get your API key from Settings → API Keys.

Authorization: Bearer pf_live_xxxxxxxxxxxx

API Reference

All endpoints are under https://promptforge-ebon.vercel.app/api/v1/

MethodEndpoint
POST/api/v1/compress
POST/api/v1/route
POST/api/v1/cache-audit
GET/api/v1/cost/summary
POST/api/v1/ab-test
POST/api/v1/rag-score
GET/api/v1/budgets
POST/api/v1/dedup

Rate Limits

PlanRequests / monthRate limit
Free10,00010 req/min
Solo1,000,000100 req/min
Team10,000,000500 req/min

Ready to start building?

Sign up free and get your API key in 60 seconds.

Get started free →