Create text embeddings
POST/v1/embeddings
Generates a 384-dimensional embedding vector for the input text using the all-MiniLM-L6-v2 sentence transformer model.
The endpoint supports caching for faster responses and includes rate limiting based on your subscription tier.
Request
Responses
- 200
- 400
- 401
- 429
- 500
Successfully generated embedding
Response Headers
X-RateLimit-Limit
Monthly request limit
X-RateLimit-Remaining
Remaining requests this month
X-RateLimit-Reset
Reset timestamp
Invalid request
Unauthorized - invalid or missing API key
Rate limit exceeded
Internal server error