Skip to main content

Overview

Our API provides endpoints for optimizing text prompts in real-time. The main endpoint is /v1/optimization/optimize.

Base URL

https://api.sqwish.ai

Authentication

All API requests require authentication using your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY

Rate Limits

  • Free tier: 100 requests per hour
  • Pro tier: 10,000 requests per hour
  • Enterprise: Custom limits

Response Codes

CodeDescription
200Success
400Bad Request - Invalid parameters
401Unauthorized - Invalid API key
429Rate limit exceeded
500Internal server error

Endpoints