completions

Post Completion

Changed on

One-shot chat completion proxied to the inference gateway.

post/v2/completions

Request

  • Base URL
    https://api.hud.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.hud.ai/v2/completions
  • Auth
    none declared

Request body

modelstring required
max_tokensinteger

Response

Successful Response

contentstring required
modelstring required

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status