This endpoint proxies an OpenAI-compatible chat completion request and charges the user based on the configured monetization model (per request, per token, etc).
If the user is not connected to the paywall, the response will contain a connection link.
If the user is connected but has insufficient balance, a top-up link is returned.
On success, the request is forwarded to the underlying model provider and the result is returned.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Optional user identifier provided by the developer.
Can be used instead of the user property in the request body to associate the API call with a specific end user.
The model to use for generating the response.
A list of messages that make up the conversation.
1The unique identifier of the user making the request.
Whether to stream the response back to the client.
successful operation