← Surdhar AIAPI docs

Build with Surdhar

Surdhar Developer API is the foundation for using a single Surdhar key in websites and apps. This first build includes the developer area and secure server architecture. Account-generated API keys, billing, quotas and provider routing are the next server/database setup step.

One API key

Your developers will use Surdhar keys instead of seeing your upstream provider keys.

Usage controls

Rate limits, quotas and logs can be attached to every key.

Multiple AI providers

Surdhar can route requests to different AI services behind one API.

Key format

sk-surdhar-••••••••••••••••••••••••

Planned request format

POST /v1/chat
Authorization: Bearer sk-surdhar-YOUR_KEY
Content-Type: application/json

{
  "model": "surdhar-pro",
  "message": "Build a landing page for my company"
}