Skip to main content

Overview

Welcome to the Promptrun.ai API reference. This documentation provides comprehensive information about all available endpoints, authentication methods, and response formats for integrating with Promptrun.ai. Promptrun.ai offers a unified API for managing prompts, executing AI models, and building LLM-powered applications. Our API is designed to be simple, consistent, and compatible with popular AI providers.

Base URL

All API requests should be made to:
https://api.promptrun.ai/v1

Authentication

All API endpoints require authentication using Bearer tokens. Include your API key in the Authorization header:
Authorization: Bearer <YOUR_API_KEY>
You can find or create your API key in the Promptrun dashboard.

Rate Limits

API requests are subject to rate limiting based on your plan:
  • Free Tier: 100 requests per minute
  • Pro Tier: 1,000 requests per minute
  • Enterprise: Custom limits
Rate limit headers are included in all responses:
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1640995200

SDKs and Libraries

We provide official SDKs for popular programming languages:
  • JavaScript/TypeScript - Coming Soon
  • Python - Coming Soon
  • PHP - Coming Soon
  • Java - Coming Soon
  • Ruby - Coming Soon
  • C# - Coming Soon

Support

Need help integrating with our API? We’re here to help: