Create a text completion
Create a text completion from the provided prompt
POST
/v1/completions
Service root: https://getrouter.ai
Protocol: OpenAI Completions
Authentication: Authorization: Bearer YOUR_API_KEY
Request body
The request body is required. Media type: application/json
Request fields
Example request
Responses
Success response fields
Example response
This page is generated from the public Relay OpenAPI specification. Browse the complete specification in the API Explorer.
