Completion Messages
Send Completion Message
Available for: Text Generator apps.
Sends a request to a text-generation app and returns the generated text.
post/completion-messages
Request body
CompletionRequest required— unresolved $ref
Response
Successful response. The content type and structure depend on the response_mode parameter in the request.
- If response_mode is blocking, returns application/json with a CompletionResponse object.
- If response_mode is streaming, returns text/event-stream with a stream of ChunkCompletionEvent objects.
Changes
No recorded changes to this endpoint across all 10 revisions of this API.