Create completion
Complétions
Créer une complétion
Classic OpenAI-compatible text completion for single-prompt generation workloads that do not require a multi-message chat schema.
POST
Create completion
Autorisations
Your DGrid API key. All endpoints use Authorization: Bearer <DGRID_API_KEY>.
Corps
application/json
Target model ID.
Prompt text or prompt array.
Optional suffix for insertion use cases.
Maximum completion length.
Sampling temperature.
Nucleus sampling value.
Number of completions to return.
Enable streaming.
Number of log probability values to return.
Include the prompt in the output.
Stop sequence string or array.
Server-side reranking count.
Token bias map.
End-user identifier.

