Completions

Completions

post/v1/completions

Request

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

Request body

thinking_budgetinteger nullable

WARNING. DEPRECATED. Use reasoning configuration instead.

emit_usageboolean

Whether to return usage information

emit_verifiedboolean

Whether to return verification status

emit_ambient_eventsboolean

Whether to return lifecycle events

wait_for_verificationboolean nullable

Whether to wait for verification to complete before completing the request

enabled_toolsstring[] nullable

List of enabled tools. Supported tools: ['*', 'websearch', 'retrieval', 'crypto_price', 'stock_price', 'weather', 'currency_convert', 'calculator']. Use [*] to enable all tools.

force_auction_v2boolean

Force routing via the NATS-based auction v2 request router, bypassing rollout sampling.

modelstring nullable
suffixstring nullable
max_tokensinteger nullable
temperaturenumber nullable
top_pnumber nullable
frequency_penaltynumber nullable
presence_penaltynumber nullable
streamboolean
logprobsinteger nullable
echoboolean nullable
best_ofinteger nullable
logit_biasobject nullable
userstring nullable
ninteger nullable

Example request

{
  "thinking_budget": 1000,
  "reasoning": {
    "effort": "medium",
    "max_tokens": 1000,
    "enabled": true
  },
  "enabled_tools": [
    "*",
    "websearch",
    "retrieval"
  ]
}

Response

Successful Response

unknown required

Changes

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