Automodels API
Introduction
The Automodels API provides enterprise-grade prompt engineering tools and safety features. This API enables developers to store prompts, apply guardrails, compress prompts for efficiency, and classify tasks for appropriate model selection.
Authentication
All API requests require an API key to be included in the Authorization header. The key should be prefixed with the word Bearer followed by a space.
Example: Authorization: Bearer abc123...
You can obtain your API key from the promptworx console under the API Keys section. Keep your API key secure and do not share it publicly. If your API key is compromised, regenerate it immediately through the console.
Rate Limiting
The API implements a sliding window rate limit of 60 requests per minute by default. Custom rate limits can be requested. Rate limit headers are included in all responses:
X-RateLimit-Limit: Total requests allowed per windowX-RateLimit-Remaining: Remaining requests in current windowX-RateLimit-Reset: Timestamp when the rate limit window resets