CompletionRequest

A2AAI GatewayAPI CenterAPI GatewayAPI ManagementEnterpriseMCPMicrosoft Azure

Properties

Name Type Description
prompt string
max_tokens integer
temperature number
View JSON Schema on GitHub

JSON Schema

ai-gateway-completion-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CompletionRequest",
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "example": "Explain the benefits of API management in"
    },
    "max_tokens": {
      "type": "integer",
      "example": 128
    },
    "temperature": {
      "type": "number",
      "example": 0.7
    }
  }
}