Create an OpenAI-compatible chat completion

post/chat/completions

Request

  • Base URL: https://api.routerplex.com/v1
  • URL: https://api.routerplex.com/v1/chat/completions
  • Auth: HTTP bearer

Request body

modelstring required

A model ID from the RouterPlex catalog.

messagesobject[] required
streamboolean

Response

Completion response, or a streaming response when stream is true.

Changes

No recorded changes to this operation across all 1 revision of this API.