API Reference

Documentation

Everything you need to integrate Pawan.Krd into your application.

List Models

Discover every model your account can access along with its types, capability flags, and the valid range / enum for every parameter. These endpoints do not require authentication for public model metadata, but authenticating reveals plan-specific pricing and access information.

GET/v1/models
💻List all models
curl https://api.pawan.krd/v1/models \ -H "Authorization: Bearer pk-your_key"
GET/v1/models/{modelId}
💻Fetch one model
curl https://api.pawan.krd/v1/models/pkrd/cosmosrp-3.5 \ -H "Authorization: Bearer pk-your_key"

Response

📋200 OK (truncated)
1{ 2 "object": "list", 3 "data": [ 4 { 5 "id": "pkrd/cosmosrp-3.5", 6 "object": "model", 7 "owned_by": "pkrd", 8 "types": ["chat"], 9 "config": { 10 "contextWindow": 65536, 11 "vision": true, 12 "ragSupport": true 13 }, 14 "parameters": { 15 "temperature": { "min": 0, "max": 2, "recommended": 0.7 }, 16 "maxTokens": { "min": 1, "max": 4096, "recommended": 1024 } 17 } 18 } 19 ] 20}

Useful fields

  • types — array of model types this model supports.
  • config — capability flags (vision, thinking, toolCalling, ragSupport, ...).
  • parameters — per-knob ranges and enums with a recommended default.
  • pricing — input / output / cached-input price per unit.