API Reference

Stream AI completions (Experimental)

Authentication Required: This endpoint requires a valid API key. Please click the "Authorize" button and enter your API key before testing.

Streams AI-generated completions based on provided messages. (Experimental) Each generating event contains only the new content (delta) to append.

Conversation Handling: To continue a conversation, include an assistant message with metadata from the previous response.

Rate Limiting: This endpoint is subject to rate limiting based on your organization's settings. The response headers will include:

  • X-RateLimit-Limit: Maximum requests allowed in the current time window
  • X-RateLimit-Remaining: Number of requests remaining
  • X-RateLimit-Reset: Unix timestamp when the rate limit resets
Language
Credentials
Header
Click Try It! to start a request and see the response here!